VisibilityStatementSerde implements Serde<VisibilityStatement> { @Override public Deserializer<VisibilityStatement> deserializer() { return new VisibilityStatementDeserializer(); }  @Override void configure(final Map<String, ?> configs, final boolean isKey); @Override Serializer<VisibilityStatement> serializer(); @Override Deserializer<VisibilityStatement> deserializer(); @Override void close();  }
@Test public void deserializeEmptyData() { try(final Serde<VisibilityStatement> serde = new VisibilityStatementSerde()) { assertNull( serde.deserializer().deserialize("topic", new byte[0]) ); } }