@Test
public void shouldReturn403ResponseForForbiddenRequestException() throws Exception {

    final Response response = exceptionMapper.toResponse(new ForbiddenRequestException(TEST_ERROR_MESSAGE));
    assertThat(response.getStatus(), is(FORBIDDEN.getStatusCode()));
    assertThat(response.getEntity(), notNullValue());
    assertThat(response.getEntity().toString(),
            hasJsonPath("$.error", equalTo(TEST_ERROR_MESSAGE)));
}