### Question:
DbTable { public Set<ForeignKey> getForeignKeySet() throws SQLException { return dbTableKeys.getForeignKeys(); } DbTable(DataSource dataSource, String tableName); String getTableName(); void getData(RowProcessor processor); List<ColumnMetaData> getStructure(); Map<String, String> getCommonParameters(); Set<UniqueKey> getPrimaryKeySet(); Set<UniqueKey> getUniqueKeySet(); Set<ForeignKey> getForeignKeySet();  }### Answer:
@Test public void getForeignKeySetTest() throws SQLException { Set<ForeignKey> expectedForeignKeySet = Sets.newHashSet( new ForeignKey("FK_ACL_OBJ_CLASS", "OBJECT_ID_CLASS", "ACL_CLASS", "ID"), new ForeignKey("FK_ACL_OBJ_PARENT", "PARENT_OBJECT", "ACL_OBJECT_IDENTITY", "ID"), new ForeignKey("FK_ACL_OBJ_OWNER", "OWNER_SID", "ACL_SID", "ID")); DbTable testObject = new DbTable(dataSource, "ACL_OBJECT_IDENTITY"); assertEquals(testObject.getForeignKeySet(), expectedForeignKeySet); }