MethodNotAllowedHandler handler = registerAndGetFromContainer(MethodNotAllowedHandler.class, CustomMethodNotAllowedHandler.class);
assertThat(handler, is(instanceOf(CustomMethodNotAllowedHandler.class)));
}
@Test
public void shouldBeAbleToRegisterClasses() throws Exception {
NoConstructor instance = getFromContainer(NoConstructor.class);
assertThat(instance, is(notNullValue()));
}