### Question:
FunctionalDependency implements Result { @Override @XmlTransient public void sendResultTo(OmniscientResultReceiver resultReceiver) throws CouldNotReceiveResultException, ColumnNameMismatchException { resultReceiver.receiveResult(this); } 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 testSendResultTo() throws CouldNotReceiveResultException, ColumnNameMismatchException { OmniscientResultReceiver resultReceiver = mock(OmniscientResultReceiver.class); FunctionalDependency fd = new FunctionalDependency(mock(ColumnCombination.class), mock(ColumnIdentifier.class)); fd.sendResultTo(resultReceiver); verify(resultReceiver).receiveResult(fd); }