@Test
public void testCompose0() {

  final String ret = randomUUID().toString();
  Function0<String> f = new Function0<String>() {
    @Override
    public String apply() {
      return ret;
    }
  };
  Function1<String, Integer> s = new Function1<String, Integer>() {
    @Override
    public Integer apply(final String t) {
      return t.length();
    }
  };
  Function0<Integer> composed = Functions.compose(f, s);
  final Integer expected = ret.length();
  assertEquals(expected, composed.apply());
}