Beispiel #1
0
 @Test
 public void shouldConstant() {
   final Function5<Object, Object, Object, Object, Object, Object> f = Function5.constant(6);
   assertThat(f.apply(1, 2, 3, 4, 5)).isEqualTo(6);
 }