### Question:
FunctionalDependency implements Result { @Override public String toString() { return determinant.toString() + FD_SEPARATOR + dependant.toString(); } FunctionalDependency();  FunctionalDependency(ColumnCombination determinant,
                              ColumnIdentifier dependant); ColumnCombination getDeterminant(); void setDependant(ColumnIdentifier dependant); ColumnIdentifier getDependant(); void setDeterminant(ColumnCombination determinant); @Override @XmlTransient void sendResultTo(OmniscientResultReceiver resultReceiver); @Override String toString(); String toString(Map<String, String> tableMapping, Map<String, String> columnMapping); static FunctionalDependency fromString(Map<String, String> tableMapping, Map<String, String> columnMapping, String str); @Override int hashCode(); @Override boolean equals(Object obj); static final String FD_SEPARATOR; }### Answer:
@Test public void testToString() { ColumnCombination expectedDeterminant = new ColumnCombination(new ColumnIdentifier("table1", "column1"), new ColumnIdentifier("table2", "column2")); ColumnIdentifier expectedDependant = new ColumnIdentifier("table1", "column7"); FunctionalDependency functionalDependency = new FunctionalDependency(expectedDeterminant, expectedDependant); String expectedStringRepresentation = expectedDeterminant + FunctionalDependency.FD_SEPARATOR + expectedDependant; assertEquals(expectedStringRepresentation, functionalDependency.toString()); }