コード例 #1
0
 @Test
 public void removesNotNotButKeepsRemainingNotFromToString() throws Exception {
   assertEquals("not <4>", HamcrestToStringFilter.filter(not(not(not((equalTo(4)))))));
 }
コード例 #2
0
 @Test
 public void removesAllNotNotsFromToString() throws Exception {
   assertEquals("<4>", HamcrestToStringFilter.filter(not(not(not(not((equalTo(4))))))));
 }