### Question:
TableInfoDataSet implements IDataSet { public synchronized void setTableInfo(ITableInfo ti) { if (ti != null) { load(ti); } else { for (int i = 0; i < _data.length; ++i) { _data[i][1] = ""; } } } TableInfoDataSet();  TableInfoDataSet(ITableInfo ti); final int getColumnCount(); DataSetDefinition getDataSetDefinition(); synchronized void setTableInfo(ITableInfo ti); synchronized boolean next(IMessageHandler msgHandler); synchronized Object get(int columnIndex);  }### Answer:
@Test public final void testSetTableInfo() { mockHelper.replayAll(); classUnderTest.setTableInfo(mockTableInfo); mockHelper.verifyAll(); }