@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());
}