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

@Test(expected = NullPointerException.class)
public void function7Fail() throws Exception {
    Function7 function7 = null;
    Functions.toFunction(function7);
}