OrcKing { public void makeRequest(Request req) { chain.handleRequest(req); } OrcKing(); void makeRequest(Request req);  }
@Test public void testMakeRequest() throws Exception { final OrcKing king = new OrcKing(); for (final Request request : REQUESTS) { king.makeRequest(request); assertTrue( "Expected all requests from King to be handled, but [" + request + "] was not!", request.isHandled() ); } }