@Test
void negateBoolean() {

    final ToBoolean<Boolean> toBoolean = NegateUtil.negateBoolean(b -> b);
    assertFalse(toBoolean.applyAsBoolean(true));
    assertTrue(toBoolean.applyAsBoolean(false));
}