@Test public void not() { Verify.assertSerializedForm( 1L, "rO0ABXNyAFljb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n" + "b29sZWFuUHJlZGljYXRlcyRJc0ZhbHNlQm9vbGVhblByZWRpY2F0ZQAAAAAAAAABAgAAeHA=", BooleanPredicates.not(BooleanPredicates.isTrue())); }
@Test public void not_custom() { Verify.assertSerializedForm( 1L, "rO0ABXNyAFVjb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n" + "b29sZWFuUHJlZGljYXRlcyROb3RCb29sZWFuUHJlZGljYXRlAAAAAAAAAAECAAFMAAZuZWdhdGV0\n" + "AENMY29tL2dzL2NvbGxlY3Rpb25zL2FwaS9ibG9jay9wcmVkaWNhdGUvcHJpbWl0aXZlL0Jvb2xl\n" + "YW5QcmVkaWNhdGU7eHBzcgBHY29tLmdzLmNvbGxlY3Rpb25zLmltcGwuYmxvY2suZmFjdG9yeS5w\n" + "cmltaXRpdmUuQm9vbGVhblByZWRpY2F0ZXNUZXN0JDEAAAAAAAAAAQIAAHhw", BooleanPredicates.not(PREDICATE)); }