StandardTransformFactory implements TransformFactory { @Override public <A, T extends Transform<A, ?>> Set<Entry<Class<?>, T>> allFrom( Class<A> model) { return transformFactory.allFrom(model); } StandardTransformFactory(final String name); @Override String getName(); @Override TransformFactory install(
            Class<A> from, Class<B> to, Supplier<T> transform); @Override Set<Entry<Class<?>, T>> allFrom(
            Class<A> model);  }
@Test void allFrom() { final Transform<Integer, String> transform = (g, i) -> Optional.of(Integer.toString(i)); instance.install(Integer.class, String.class, () -> transform); final Set<Map.Entry<Class<?>, Transform<Integer, ?>>> entries = instance.allFrom(Integer.class); Map.Entry<Class<?>, Transform<Integer, ?>> transformEntry = entries.iterator().next(); assertEquals(String.class, transformEntry.getKey()); assertSame(transform, transformEntry.getValue()); }