コード例 #1
0
 @Test
 public void testHashCodeDifferentBottomLeftCorner() {
   assertNotEquals(
       HASH_CODE_MUST_BE_DISTINCT,
       built.hashCode(),
       builder.setBottomLeftCorner('x').build().hashCode());
 }
コード例 #2
0
 @Test
 public void testToStringDifferentBottomLeftCorner() {
   assertNotEquals(
       TO_STRING_MUST_BE_DISTINCT,
       built.toString(),
       builder.setBottomLeftCorner('x').build().toString());
 }
コード例 #3
0
 @Test
 public void testNotEqualToDifferentBottomLeftCorner() {
   assertNotEquals(
       NOT_EQUAL_TO_INSTANCE_WITH_DIFFERENT_VALUES,
       built,
       builder.setBottomLeftCorner('x').build());
 }