@Test public void testDeserialize() throws Exception { val expected = TestObjectMother.alert(); val expectedBytes = objectMapper.writeValueAsBytes(expected); val actual = serdeUnderTest.deserializer().deserialize("some-topic", expectedBytes); assertEquals(expected, actual); }
@Override public Deserializer<Alert> deserializer() { return new Deser(); }
AlertJsonSerde implements Serde<Alert> { @Override public Deserializer<Alert> deserializer() { return new Deser(); } }
AlertJsonSerde implements Serde<Alert> { @Override public Deserializer<Alert> deserializer() { return new Deser(); }  }
AlertJsonSerde implements Serde<Alert> { @Override public Deserializer<Alert> deserializer() { return new Deser(); }  @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 Deserializer<Alert> deserializer() { return new Deser(); }  @Override void configure(Map<String, ?> configs, boolean isKey); @Override void close(); @Override Serializer<Alert> serializer(); @Override Deserializer<Alert> deserializer();  }