### Question:
BlockingBatchingRowSet extends BaseRowSet implements Comparable<IRowSet>, IRowSet { @Override public int size() { return size - getIndex + size * getArray.size(); } BlockingBatchingRowSet( int maxSize ); @Override boolean putRow( IRowMeta rowMeta, Object[] rowData ); @Override boolean putRowWait( IRowMeta rowMeta, Object[] rowData, long time, TimeUnit tu ); @Override Object[] getRow(); @Override Object[] getRowImmediate(); @Override Object[] getRowWait( long timeout, TimeUnit tu ); @Override int size(); @Override void setDone(); @Override void clear();  }### Answer:
@Test public void testBasicCreation() { IRowSet set = new BlockingBatchingRowSet( 10 ); assertTrue( !set.isDone() ); assertEquals( 0, set.size() ); }