@Test
public void testComposeTry_noOnError() {

    final Fun.ThrowingFunction<String, Class<?>> classLoader = this.getClass().getClassLoader()::loadClass;
    final Function<String, Stream<Class<?>>> func =
            Fun.composeTry1(Stream::of, Stream::empty, classLoader, null);
    final String notARealClassName = "net.adamcin.oakpal.core.NotARealClass";
    final Class<?>[] loadedClasses = Stream.of("java.lang.String", notARealClassName, "java.util.Map")
            .flatMap(func).toArray(Class<?>[]::new);
    assertArrayEquals("loadedClasses should contain String and Map",
            new Class<?>[]{String.class, Map.class}, loadedClasses);
}