@Test
public void shouldCreateFunctionFromItemToItem() {

  final Function<String, Integer> function = functionFrom(String.class)
      .apply(new DoubleString())
      .thenApply(new StringLength());
  assertThat(function.apply(INPUT_STRING), is(10));
}