@Test public void testMakeQuest() { ITCompany itCompany = new ITCompany(); REQUESTS.forEach(request -> { itCompany.makeRequest(request); assertTrue( request.isHandled(), "公司新项目所有需求希望被处理, 但是 [" + request + "] 没有!" ); }); }
public void makeRequest(Request req) { chain.handleRequest(req); }
ITCompany { public void makeRequest(Request req) { chain.handleRequest(req); } }
ITCompany { public void makeRequest(Request req) { chain.handleRequest(req); } ITCompany(); }
ITCompany { public void makeRequest(Request req) { chain.handleRequest(req); } ITCompany(); void makeRequest(Request req); }
ITCompany { public void makeRequest(Request req) { chain.handleRequest(req); } ITCompany(); void makeRequest(Request req);  }