@Test(expected = JsonParseException.class)
public void shouldThrowExceptionWhileTryingToDeserializeUnknownTypeOfPortTelemetry() {

    String portTelemetryValueAsJsonArray = "{\"PortTelemetry\":\"ENABLED\"}";
    adapter.deserialize(parser.parse(portTelemetryValueAsJsonArray), null, null);
}