@SuppressWarnings({"unchecked", "rawtypes"})

@Test(expected = NullPointerException.class)
public void biFunctionFail() throws Exception {
    BiFunction biFunction = null;
    Functions.toFunction(biFunction);
}