### Question:
FiltersHandler implements HttpHandler { @Override public void handleRequest(HttpServerExchange exchange) throws Exception { if (filters.size() < 1) { next.handleRequest(exchange); return; } SimpleChain chain = new SimpleChain(exchange); chain.next(); } FiltersHandler(HttpHandler next); @Override void handleRequest(HttpServerExchange exchange); void add(FilterDef model);  }### Answer:
@Test public void testNoFilter() throws Exception { new MockUp<SimpleChain>() { @Mock(invocations = 0) public Object next() throws Exception { return null; } }; boolean[] is = { false }; FiltersHandler target = new FiltersHandler(exc -> { is[0] = true; }); target.handleRequest(this.exchange); assertTrue(is[0]); }