@Test
public void testInferTest1() {

    final Predicate<String> test = inferTest1(String::isEmpty);
    assertTrue("test for is empty", test.test(""));
    assertFalse("test for is not empty", test.test("abcde"));
}