@Test
public void shouldCreateFunctionFromListToList() {

  final Function<List<String>, List<Integer>> function = functionFromListOf(String.class)
      .limit(3)
      .thenMap(new StringLength());
  assertThat(function.apply(INPUT_LIST), contains(4, 7, 3));
}