@Test
public void shouldCreateFunctionFromListToItem() {

  final Function<List<String>, Integer> function = functionFromListOf(String.class)
      .limit(3)
      .map(new StringLength())
      .thenApply(new SumOfIntegersInList());
  assertThat(function.apply(INPUT_LIST), is(14));
}