@Test(expected = ClassCastException.class)
public void testObtainHandlerOfDifferentType() {

	// Arrange:
	AnnotationHandlers.obtainHandler(Handler.class, AnnotatedComponent.class);
	// Act:
	AnnotationHandlers.obtainHandler(SecondHandler.class, AnnotatedComponent.class);
}