@Test public void shouldLift() { class Type { Object methodReference(Object o1, Object o2, Object o3, Object o4, Object o5) { return null; } } final Type type = new Type(); assertThat(Function5.of(type::methodReference)).isNotNull(); }