@Test
public void testComposeTest2BiFunction() {

    final BiFunction<String, Integer, String> chomp = (string, length) -> string.substring(0, length);
    final BiPredicate<String, Integer> sentinelStartsWith = composeTest2(chomp, sentinel::startsWith);
    assertTrue("chomp an input string to a length test if sentinel::startsWith",
            sentinelStartsWith.test("senile", 3));
    assertFalse("chomp an input string to a length test if sentinel::startsWith",
            sentinelStartsWith.test("straighten", 2));
}