### Question:
RelatedObjectInfo extends DatabaseObjectInfo { public IDatabaseObjectInfo getRelatedObjectInfo() { return _relatedObjInfo; } RelatedObjectInfo(IDatabaseObjectInfo relatedObjInfo,
                                String simpleName,
                                DatabaseObjectType dboType,
                                SQLDatabaseMetaData md); IDatabaseObjectInfo getRelatedObjectInfo();  }### Answer:
@Test public void testContstructor() throws SQLException { super.setupDboExpectations(mockDatabaseObjectInfo); super.setupSqlDatabaseMetaDataExpectations(mockMetaData); mockHelper.replayAll(); classUnderTest = new RelatedObjectInfo( mockDatabaseObjectInfo, TEST_SIMPLE_NAME, TABLE_TYPE_DBO, mockMetaData); mockHelper.verifyAll(); assertEquals(mockDatabaseObjectInfo, classUnderTest.getRelatedObjectInfo()); }