@Test
 public void or() {
   Verify.assertSerializedForm(
       1L,
       "rO0ABXNyAE9jb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n"
           + "b29sZWFuUHJlZGljYXRlcyRUcnVlUHJlZGljYXRlAAAAAAAAAAECAAB4cA==",
       BooleanPredicates.or(BooleanPredicates.isTrue(), BooleanPredicates.isFalse()));
 }
 @Test
 public void and() {
   Verify.assertSerializedForm(
       1L,
       "rO0ABXNyAFBjb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n"
           + "b29sZWFuUHJlZGljYXRlcyRGYWxzZVByZWRpY2F0ZQAAAAAAAAABAgAAeHA=",
       BooleanPredicates.and(BooleanPredicates.isTrue(), BooleanPredicates.isFalse()));
 }
 @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));
 }
 @Test
 public void or_custom() {
   Verify.assertSerializedForm(
       1L,
       "rO0ABXNyAFRjb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n"
           + "b29sZWFuUHJlZGljYXRlcyRPckJvb2xlYW5QcmVkaWNhdGUAAAAAAAAAAQIAAkwAA29uZXQAQ0xj\n"
           + "b20vZ3MvY29sbGVjdGlvbnMvYXBpL2Jsb2NrL3ByZWRpY2F0ZS9wcmltaXRpdmUvQm9vbGVhblBy\n"
           + "ZWRpY2F0ZTtMAAN0d29xAH4AAXhwc3IAR2NvbS5ncy5jb2xsZWN0aW9ucy5pbXBsLmJsb2NrLmZh\n"
           + "Y3RvcnkucHJpbWl0aXZlLkJvb2xlYW5QcmVkaWNhdGVzVGVzdCQxAAAAAAAAAAECAAB4cHEAfgAE\n",
       BooleanPredicates.or(PREDICATE, PREDICATE));
 }
 @Test
 public void and_custom() {
   Verify.assertSerializedForm(
       1L,
       "rO0ABXNyAFVjb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5mYWN0b3J5LnByaW1pdGl2ZS5C\n"
           + "b29sZWFuUHJlZGljYXRlcyRBbmRCb29sZWFuUHJlZGljYXRlAAAAAAAAAAECAAJMAANvbmV0AENM\n"
           + "Y29tL2dzL2NvbGxlY3Rpb25zL2FwaS9ibG9jay9wcmVkaWNhdGUvcHJpbWl0aXZlL0Jvb2xlYW5Q\n"
           + "cmVkaWNhdGU7TAADdHdvcQB+AAF4cHNyAEdjb20uZ3MuY29sbGVjdGlvbnMuaW1wbC5ibG9jay5m\n"
           + "YWN0b3J5LnByaW1pdGl2ZS5Cb29sZWFuUHJlZGljYXRlc1Rlc3QkMQAAAAAAAAABAgAAeHBxAH4A\n"
           + "BA==",
       BooleanPredicates.and(PREDICATE, PREDICATE));
 }