コード例 #1
0
 protected final void train_getBaseSource(BaseURLSource baseURLSource, Request request) {
   expect(request.isSecure()).andReturn(false);
   expect(baseURLSource.getBaseURL(false)).andReturn("");
 }
コード例 #2
0
 protected final void train_getContextPath(Request request, String contextPath) {
   expect(request.getContextPath()).andReturn(contextPath).atLeastOnce();
 }