@Test public void testFilterRequest() throws Exception { final Target target = mock(Target.class); final FilterManager filterManager = new FilterManager(); assertEquals("RUNNING...", filterManager.filterRequest(mock(Order.class))); verifyZeroInteractions(target); }
public String filterRequest(Order order) { return filterChain.execute(order); }
FilterManager { public String filterRequest(Order order) { return filterChain.execute(order); } }
FilterManager { public String filterRequest(Order order) { return filterChain.execute(order); } FilterManager(); }
FilterManager { public String filterRequest(Order order) { return filterChain.execute(order); } FilterManager(); void addFilter(Filter filter); String filterRequest(Order order); }
FilterManager { public String filterRequest(Order order) { return filterChain.execute(order); } FilterManager(); void addFilter(Filter filter); String filterRequest(Order order);  }