### Question:
MatcherContext { public boolean isPossibleMatch(final GiverAssignment pair) { return !restrictions.contains(pair); } MatcherContext(final List<Person> receivers, final Set<GiverAssignment> restrictions); OptionalInt allocateNextReceiver(final int previousIndex); Person lookupReceiver(final int index); Set<Person> getRemainingReceivers(); boolean isPossibleMatch(final GiverAssignment pair); static final int NO_RECEIVER_ALLOCATED; }### Answer:
@Test public void testIsPossibleMatch() { assertAll( () -> assertFalse(target.isPossibleMatch(ASSIGNMENT_1_2)), () -> assertTrue(target.isPossibleMatch(ASSIGNMENT_1_3)) ); }