Package foo.domaintest.util

Examples of foo.domaintest.util.TempUrlFactory


    StashAction stash = new StashAction();
    stash.response = new Response(sleeper, servletResponse, metrics);
    stash.memcache = new Memcache(null, metrics);
    StringWriter stashWriter = new StringWriter();
    when(servletResponse.getWriter()).thenReturn(new PrintWriter(stashWriter));
    stash.tempUrlFactory = new TempUrlFactory("http://testing.example/stash");
    stash.lazyRandomToken = lazy("token");
    stash.status = 234;
    stash.payload = "foo";
    stash.run();
View Full Code Here


  public StashActionTest() {
    action.memcache = memcache;
    action.lazyRandomToken = lazy("token");
    action.response = new FakeResponse();
    action.tempUrlFactory = new TempUrlFactory(TESTING_URL_BASE + "/stash");
  }
View Full Code Here

  @Before
  public void before() {
    action.emailer = emailer;
    action.memcache = memcache;
    action.tempUrlFactory = new TempUrlFactory("http://testing.example/autoreply");
    action.rawHeaders = "raw headers";
    action.from = "developer@example.com";
    action.to = "foobar@testing.example";
    action.subject = "test";
    action.presentedApiKey = "apikey";
View Full Code Here

TOP

Related Classes of foo.domaintest.util.TempUrlFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.