示例#1
0
 @Test
 public void shouldComposeWithAndThen() {
   final Function4<Object, Object, Object, Object, Object> f = (o1, o2, o3, o4) -> null;
   final Function1<Object, Object> after = o -> null;
   final Function4<Object, Object, Object, Object, Object> composed = f.andThen(after);
   assertThat(composed).isNotNull();
 }