### Question:
FilteringMessageReader implements MessageReader { @Override public void close() throws IOException { delegate.close(); } FilteringMessageReader(MessageReader delegate, TableSelector tableSelector); @Override Optional<MessageEvent> read(); @Override void delete(MessageEvent event); @Override void close();  }### Answer:
@Test public void typicalClose() throws IOException { filteringMessageReader = new FilteringMessageReader(delegate, tableSelector); filteringMessageReader.close(); verify(delegate).close(); }