@Test void close() throws IOException { TreasureDataIngester ingester = new TreasureDataIngester(treasureDataSender); ingester.close(); verify(treasureDataSender, times(1)).close(); }
@Override public void close() throws IOException { sender.close(); }
TreasureDataIngester implements Ingester { @Override public void close() throws IOException { sender.close(); } }
TreasureDataIngester implements Ingester { @Override public void close() throws IOException { sender.close(); } TreasureDataIngester(TreasureDataSender sender); }
TreasureDataIngester implements Ingester { @Override public void close() throws IOException { sender.close(); } TreasureDataIngester(TreasureDataSender sender); @Override void ingest(String tag, ByteBuffer dataBuffer); @Override Sender getSender(); @Override void close(); }
TreasureDataIngester implements Ingester { @Override public void close() throws IOException { sender.close(); } TreasureDataIngester(TreasureDataSender sender); @Override void ingest(String tag, ByteBuffer dataBuffer); @Override Sender getSender(); @Override void close();  }