### Question:
StatusInfoMixin { @JsonCreator public static StatusInfo valueOf(@JsonProperty("status") String statusCode, @JsonProperty("details") @Nullable Map<String, ?> details) { return StatusInfo.valueOf(statusCode, details); }  @JsonCreator static StatusInfo valueOf(@JsonProperty("status") String statusCode,
			@JsonProperty("details") @Nullable Map<String, ?> details); @JsonIgnore abstract boolean isUp(); @JsonIgnore abstract boolean isOffline(); @JsonIgnore abstract boolean isDown(); @JsonIgnore abstract boolean isUnknown();  }### Answer:
@Test public void verifySerialize() throws IOException { StatusInfo statusInfo = StatusInfo.valueOf("OFFLINE", Collections.singletonMap("foo", "bar")); JsonContent<StatusInfo> jsonContent = jsonTester.write(statusInfo); assertThat(jsonContent).extractingJsonPathStringValue("$.status").isEqualTo("OFFLINE"); assertThat(jsonContent).extractingJsonPathMapValue("$.details").containsOnly(entry("foo", "bar")); assertThat(jsonContent).doesNotHaveJsonPath("$.up"); assertThat(jsonContent).doesNotHaveJsonPath("$.offline"); assertThat(jsonContent).doesNotHaveJsonPath("$.down"); assertThat(jsonContent).doesNotHaveJsonPath("$.unknown"); }