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