@JsonCreator
  public static RefinementInfo of(
      @JsonProperty(value = "outputRefinement", required = true)
      final OutputRefinement outputRefinement
  ) {
    return new RefinementInfo(outputRefinement);
  }
@Test
  public void shouldImplementEquals() {
    new EqualsTester()
        .addEqualityGroup(
            RefinementInfo.of(OutputRefinement.FINAL),
            RefinementInfo.of(OutputRefinement.FINAL)
        )
        .addEqualityGroup(
            RefinementInfo.of(OutputRefinement.CHANGES)
        )
        .testEquals();
  }