/** Test null reference yields error */ public void testOf_NullPointerException() { try { EquivalenceTester.of(null); fail("Should fail on null reference"); } catch (NullPointerException expected) { } }
@Override public void setUp() throws Exception { super.setUp(); this.equivalenceMock = new MockEquivalence(); this.tester = EquivalenceTester.of(equivalenceMock); }