### Question:
MatchingDependency implements Result { @Override public String toString() { return determinant.toString() + MD_SEPARATOR + dependant.toString() + SUPPORT_SEPARATOR + support; } MatchingDependency();  MatchingDependency(MatchingCombination determinant,
      MatchingIdentifier dependant, long support); static MatchingDependency fromString(Map<String, String> tableMapping,
      Map<String, String> columnMapping, String str); long getSupport(); void setSupport(long support); MatchingCombination getDeterminant(); void setDeterminant(MatchingCombination determinant); MatchingIdentifier getDependant(); void setDependant(MatchingIdentifier dependant); @Override @XmlTransient void sendResultTo(OmniscientResultReceiver resultReceiver); @Override String toString(); String toString(Map<String, String> tableMapping, Map<String, String> columnMapping); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testToString() { MatchingCombination expectedDeterminant = new MatchingCombination(new MatchingIdentifier( new ColumnIdentifier("table1", "column1"), new ColumnIdentifier("table2", "column2"), "sim", 0.5), new MatchingIdentifier( new ColumnIdentifier("table1", "column3"), new ColumnIdentifier("table2", "column4"), "sim", 0.5)); MatchingIdentifier expectedDependant = new MatchingIdentifier( new ColumnIdentifier("table1", "column7"), new ColumnIdentifier("table2", "column8"), "sim", 0.5); MatchingDependency matchingDependency = new MatchingDependency(expectedDeterminant, expectedDependant, 10); String expectedStringRepresentation = expectedDeterminant + MatchingDependency.MD_SEPARATOR + expectedDependant + MatchingDependency.SUPPORT_SEPARATOR + 10; assertEquals(expectedStringRepresentation, matchingDependency.toString()); }