TreasureDataIngester implements Ingester { @Override public Sender getSender() { return sender; } TreasureDataIngester(TreasureDataSender sender); @Override void ingest(String tag, ByteBuffer dataBuffer); @Override Sender getSender(); @Override void close();  }
@Test void getSender() { assertEquals(treasureDataSender, new TreasureDataIngester(treasureDataSender).getSender()); }