示例#1
0
 @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);
 }
示例#2
0
 @Override
 @Test
 public void testEqualsAndHashCode() {
   Verify.assertEqualsAndHashCode(UnifiedMap.newWithKeysValues("1", "One"), this.classUnderTest());
 }
示例#3
0
 @Test
 public void testClone() {
   MutableList<String> growableList = this.list.clone();
   Verify.assertEqualsAndHashCode(this.list, growableList);
   Verify.assertInstanceOf(SextupletonList.class, growableList);
 }