@Test public void shouldComposeWithAndThen() { final Function5<Object, Object, Object, Object, Object, Object> f = (o1, o2, o3, o4, o5) -> null; final Function1<Object, Object> after = o -> null; final Function5<Object, Object, Object, Object, Object, Object> composed = f.andThen(after); assertThat(composed).isNotNull(); }