### Question:
TableInfoDataSet implements IDataSet { public DataSetDefinition getDataSetDefinition() { return _dsDef; } 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 testGetDataSetDefinition() { mockHelper.replayAll(); classUnderTest.setTableInfo(mockTableInfo); assertNotNull(classUnderTest.getDataSetDefinition()); mockHelper.verifyAll(); }