@Test
public void shouldThrowException_WhenNotRestExceptionProviderAnnotated() throws Exception {

    expectedException.expect(IllegalStateException.class);
    ExceptionHandlerBinding.fromAnnotatedClass(ExceptionProviderNotAnnotated.class);
}