assertNotNull(instance2);
}
@Test
public void shouldScanAndRegisterAnnotatedBeans() {
DummyComponent component = container.instanceFor(DummyComponent.class);
assertNotNull("can instantiate", component);
assertTrue("is the right implementation", component instanceof DummyImplementation);
}