assertThat(component, is(notNullValue()));
registerAndGetFromContainer(DependentOnSomethingFromComponentFactory.class,
DependentOnSomethingFromComponentFactory.class);
DependentOnSomethingFromComponentFactory dependent = registerAndGetFromContainer(
DependentOnSomethingFromComponentFactory.class, null);
assertThat(dependent, is(notNullValue()));
assertThat(dependent.getDependency(), is(notNullValue()));
}