@Test
public void shouldDeserializeStringArrayValueToPortTelemetry() {

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