### Question:
OrderDependency implements Result { @Override @XmlTransient public void sendResultTo(final OmniscientResultReceiver resultReceiver) throws CouldNotReceiveResultException, ColumnNameMismatchException { resultReceiver.receiveResult(this); } protected  OrderDependency();  OrderDependency(final ColumnPermutation lhs, final ColumnPermutation rhs,
                         final OrderType orderType, final ComparisonOperator comparisonOperator); void setLhs(final ColumnPermutation lhs); void setOrderType(final OrderType orderType); void setRhs(final ColumnPermutation rhs); void setComparisonOperator(final ComparisonOperator comparisonOperator); ComparisonOperator getComparisonOperator(); ColumnPermutation getLhs(); OrderType getOrderType(); ColumnPermutation getRhs(); @Override boolean equals(final Object obj); @Override int hashCode(); @Override @XmlTransient void sendResultTo(final OmniscientResultReceiver resultReceiver); @Override String toString(); String toString(Map<String, String> tableMapping, Map<String, String> columnMapping); static OrderDependency fromString(Map<String, String> tableMapping, Map<String, String> columnMapping, String str); static final String OD_SEPARATOR; }### Answer:
@Test public void testSendResultTo() throws CouldNotReceiveResultException, ColumnNameMismatchException { final OmniscientResultReceiver resultReceiver = mock(OmniscientResultReceiver.class); final OrderDependency od = new OrderDependency(mock(ColumnPermutation.class), mock(ColumnPermutation.class), OrderType.LEXICOGRAPHICAL, ComparisonOperator.SMALLER_EQUAL); od.sendResultTo(resultReceiver); verify(resultReceiver).receiveResult(od); }