コード例 #1
0
 @Test
 public void testHashCodeDifferentTopIntersect() {
   assertNotEquals(
       HASH_CODE_MUST_BE_DISTINCT,
       built.hashCode(),
       builder.setTopIntersect('x').build().hashCode());
 }
コード例 #2
0
 @Test
 public void testToStringDifferentTopIntersect() {
   assertNotEquals(
       TO_STRING_MUST_BE_DISTINCT,
       built.toString(),
       builder.setTopIntersect('x').build().toString());
 }
コード例 #3
0
 @Test
 public void testNotEqualToDifferentTopIntersect() {
   assertNotEquals(
       NOT_EQUAL_TO_INSTANCE_WITH_DIFFERENT_VALUES, built, builder.setTopIntersect('x').build());
 }