assertEquals(component.putWithDefault("test2","test2"),"test2");
}
@Test
public void shoudRegisterResourcesInRouter() {
Router router = instanceFor(Router.class);
Matcher<Iterable<? super Route>> hasItem = hasItem(canHandle(ControllerInTheClasspath.class,
ControllerInTheClasspath.class.getDeclaredMethods()[0]));
assertThat(router.allRoutes(), hasItem);
}