RequestContext.getCurrentContext().setResponse(response);
FilterProcessor processor = new FilterProcessor();
processor = spy(processor);
try {
when(processor.runFilters("route")).thenThrow(new ZuulException("test", 400, "test"));
when(filter.filterType()).thenReturn("post");
processor.route();
} catch (ZuulException e) {
assertEquals(e.getMessage(), "test");
assertEquals(e.nStatusCode, 400);