### Question:
Limit implements NullaryPredicate, Predicate<Object>, BinaryPredicate<Object, Object> { public static Limit of(int count) { return new Limit(count); } Limit(int count); boolean test(); boolean test(Object obj); boolean test(Object a, Object b); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static Limit of(int count);  }### Answer:
@Test public void testLimits() { Limit limit = new Limit(1); assertEquals(Limit.of(1), limit); assertObjectsAreEqual(Limit.of(1), limit); assertObjectsAreNotEqual(Limit.of(3), limit); }