DozerBeanContainer implements BeanRegistry { public void register(Class<?> type) { beans.put(type, new Object[1]); }  void register(Class<?> type); T getBean(Class<T> type); Collection<T> getBeans(Class<T> type);  }
@Test public void register() { container.register(String.class); String bean = container.getBean(String.class); assertThat(bean, notNullValue()); }