@Test public void testSerialize() throws Exception { val expected = objectMapper.writeValueAsBytes(alert); val actual = serdeUnderTest.serializer().serialize("some-topic", alert); assertArrayEquals(expected, actual); }
@Override public Serializer<Alert> serializer() { return new Ser(); }
AlertJsonSerde implements Serde<Alert> { @Override public Serializer<Alert> serializer() { return new Ser(); } }
AlertJsonSerde implements Serde<Alert> { @Override public Serializer<Alert> serializer() { return new Ser(); }  }
AlertJsonSerde implements Serde<Alert> { @Override public Serializer<Alert> serializer() { return new Ser(); }  @Override void configure(Map<String, ?> configs, boolean isKey); @Override void close(); @Override Serializer<Alert> serializer(); @Override Deserializer<Alert> deserializer(); }
AlertJsonSerde implements Serde<Alert> { @Override public Serializer<Alert> serializer() { return new Ser(); }  @Override void configure(Map<String, ?> configs, boolean isKey); @Override void close(); @Override Serializer<Alert> serializer(); @Override Deserializer<Alert> deserializer();  }