@Test
public void appliesResponseFilters() throws Exception {

    ResponseFilter responseFilter = mock(ResponseFilter.class);
    when(providers.getResponseFilters(requestPath)).thenReturn(newArrayList(responseFilter));
    requestHandler.handleRequest(request, response);
    verify(responseFilter).doFilter(response);
}