### Question:
MatchingDependency implements Result { @Override @XmlTransient public void sendResultTo(OmniscientResultReceiver resultReceiver) throws CouldNotReceiveResultException, ColumnNameMismatchException { resultReceiver.receiveResult(this); } 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 testSendResultTo() throws CouldNotReceiveResultException, ColumnNameMismatchException { OmniscientResultReceiver resultReceiver = mock(OmniscientResultReceiver.class); MatchingDependency md = new MatchingDependency(mock(MatchingCombination.class), mock(MatchingIdentifier.class), 10L); md.sendResultTo(resultReceiver); verify(resultReceiver).receiveResult(md); }