Exemplo n.º 1
0
 protected final void train_getBaseSource(BaseURLSource baseURLSource, Request request) {
   expect(request.isSecure()).andReturn(false);
   expect(baseURLSource.getBaseURL(false)).andReturn("");
 }
Exemplo n.º 2
0
 protected final void train_getContextPath(Request request, String contextPath) {
   expect(request.getContextPath()).andReturn(contextPath).atLeastOnce();
 }