### Question:
DenialConstraint implements Result { @Override public void sendResultTo(OmniscientResultReceiver resultReceiver) throws CouldNotReceiveResultException, ColumnNameMismatchException { resultReceiver.receiveResult(this); } DenialConstraint();  DenialConstraint(Predicate... predicates); @Override void sendResultTo(OmniscientResultReceiver resultReceiver); Collection<Predicate> getPredicates(); @JsonIgnore int getPredicateCount(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final String NOT; static final String AND; }### Answer:
@Test public void testSendResultTo() throws CouldNotReceiveResultException, ColumnNameMismatchException { OmniscientResultReceiver resultReceiver = mock(OmniscientResultReceiver.class); DenialConstraint dc = new DenialConstraint(); dc.sendResultTo(resultReceiver); verify(resultReceiver).receiveResult(dc); }