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