@SuppressWarnings("unused") // Required for automatic type inference
  public static <K> Builder0<K> forClass(final Class<K> type) {
    return new Builder0<>();
  }
@Test(expected = IllegalArgumentException.class)
  public void shouldThrowIfHandlerSupplierThrows0() {
    HandlerMaps.forClass(BaseType.class)
        .put(LeafTypeA.class, () -> {
          throw new RuntimeException("Boom");
        })
        .build();
  }