@Test
public void resolvesSingletonExceptionMapper() {

    ExceptionMapper exceptionMapper = new RuntimeExceptionMapper();
    componentResolver.addSingleton(exceptionMapper);
    verify(providers).addExceptionMapper(exceptionMapper);
}