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

@Test(expected = NullPointerException.class)
public void function5Fail() throws Exception {
    Function5 function5 = null;
    Functions.toFunction(function5);
}