@Test
public void shouldThrowException_WhenNotImplementingRestExceptionProvider() throws Exception {

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