### Question:
IndexParentInfo extends DatabaseObjectInfo { public IDatabaseObjectInfo getTableInfo() { return _tableInfo; } IndexParentInfo(IDatabaseObjectInfo tableInfo,
                           SQLDatabaseMetaData md); IDatabaseObjectInfo getTableInfo();  }### Answer:
@Test public final void testGetTableInfo() throws SQLException { setupDboExpectations(mockTableInfo); setupSqlDatabaseMetaDataExpectations(mockSQLDatabaseMetaData); mockHelper.replayAll(); classUnderTest = new IndexParentInfo(mockTableInfo, mockSQLDatabaseMetaData); assertNotNull(classUnderTest.getTableInfo()); assertEquals(classUnderTest.getTableInfo(), mockTableInfo); mockHelper.verifyAll(); }