### Question:
KafkaProtobufDeserializer implements Deserializer<T> { @Override public void close() { } KafkaProtobufDeserializer( Parser<T> parser ); @Override void configure( Map<String, ?> configs, boolean isKey ); @Override T deserialize( String topic, byte[] data ); @Override void close();  }### Answer:
@Test public void testCloseDoesntInteractParser() { Parser<MessageLite> parser = mock( Parser.class ); KafkaProtobufDeserializer<MessageLite> deserializer = new KafkaProtobufDeserializer( parser ); deserializer.close(); verifyZeroInteractions( parser ); }