### Question:
RowProducer { public void finished() { rowSet.setDone(); } RowProducer( ITransform iTransform, IRowSet rowSet ); void putRow( IRowMeta rowMeta, Object[] row ); boolean putRow( IRowMeta rowMeta, Object[] row, boolean block ); boolean putRowWait( IRowMeta rowMeta, Object[] rowData, long time, TimeUnit tu ); void finished(); IRowSet getRowSet(); void setRowSet( IRowSet rowSet ); ITransform getTransformInterface(); void setTransformInterface( ITransform iTransform );  }### Answer:
@Test public void testFinished() throws Exception { rowProducer.finished(); verify( rowSet, times( 1 ) ).setDone(); }