@Test public void testEqualsAndHashCode() { MutableList<String> one = Lists.fixedSize.of("1", "2", "3", "4", "5", "6"); List<String> oneA = new ArrayList<String>(one); Verify.assertEqualsAndHashCode(one, oneA); Verify.assertPostSerializedEqualsAndHashCode(one); }
@Override @Test public void testEqualsAndHashCode() { Verify.assertEqualsAndHashCode(UnifiedMap.newWithKeysValues("1", "One"), this.classUnderTest()); }
@Test public void testClone() { MutableList<String> growableList = this.list.clone(); Verify.assertEqualsAndHashCode(this.list, growableList); Verify.assertInstanceOf(SextupletonList.class, growableList); }