D | MultisetsImmutableEntryTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 private static final String NE = null; field in MultisetsImmutableEntryTest 50 assertEquals("null", entry(NE, 1).toString()); in testToStringNull() 51 assertEquals("null x 2", entry(NE, 2).toString()); in testToStringNull() 64 assertEquals(control(NE, 1), entry(NE, 1)); in testEqualsNull() 65 assertFalse(control(NE, 1).equals(entry(NE, 2))); in testEqualsNull() 66 assertFalse(entry(NE, 1).equals(control("bar", 1))); in testEqualsNull() 67 assertFalse(entry(NE, 1).equals(new Object())); in testEqualsNull() 68 assertFalse(entry(NE, 1).equals(null)); in testEqualsNull() 77 assertEquals(control(NE, 1).hashCode(), entry(NE, 1).hashCode()); in testHashCodeNull() [all …]
|