### Question:
FilterManager { public String filterRequest(Order order) { return filterChain.execute(order); } FilterManager(); void addFilter(Filter filter); String filterRequest(Order order);  }### Answer:
@Test public void testFilterRequest() { final Target target = mock(Target.class); final FilterManager filterManager = new FilterManager(); assertEquals("RUNNING...", filterManager.filterRequest(mock(Order.class))); verifyZeroInteractions(target); }
@Test public void testFilterRequest() { final var target = mock(Target.class); final var filterManager = new FilterManager(); assertEquals("RUNNING...", filterManager.filterRequest(mock(Order.class))); verifyZeroInteractions(target); }
@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); }