@Test
public void shouldDeserializeStringValueToPortTelemetry() {

    String portTelemetryValueAsJsonValue = "\"ENABLED\"";
    PortTelemetry portTelemetry = adapter.deserialize(parser.parse(portTelemetryValueAsJsonValue), null, null);
    assertThat(portTelemetry, is(PortTelemetry.ENABLED));
}