@Test public void testDeserialize() throws Exception { val expected = TestObjectMother.metricData(); val expectedBytes = objectMapper.writeValueAsBytes(expected); val actual = serdeUnderTest.deserializer().deserialize("some-topic", expectedBytes); assertEquals(expected, actual); }
@Override public Deserializer<MetricData> deserializer() { return new Deser(); }
MetricDataJsonSerde implements Serde<MetricData> { @Override public Deserializer<MetricData> deserializer() { return new Deser(); } }
MetricDataJsonSerde implements Serde<MetricData> { @Override public Deserializer<MetricData> deserializer() { return new Deser(); }  }
MetricDataJsonSerde implements Serde<MetricData> { @Override public Deserializer<MetricData> deserializer() { return new Deser(); }  @Override void configure(Map<String, ?> map, boolean b); @Override void close(); @Override Serializer<MetricData> serializer(); @Override Deserializer<MetricData> deserializer(); }
MetricDataJsonSerde implements Serde<MetricData> { @Override public Deserializer<MetricData> deserializer() { return new Deser(); }  @Override void configure(Map<String, ?> map, boolean b); @Override void close(); @Override Serializer<MetricData> serializer(); @Override Deserializer<MetricData> deserializer();  }