View Javadoc

1   package com.atlassian.marketplace.client.impl;
2   
3   import org.junit.Before;
4   
5   import static com.atlassian.marketplace.client.TestObjects.BASE_URI;
6   import static com.atlassian.marketplace.client.impl.ClientTester.defaultRootResource;
7   
8   public abstract class ApiImplTestBase
9   {
10      protected ClientTester tester;
11      
12      @Before
13      public void setUp() throws Exception
14      {
15          tester = new ClientTester(BASE_URI);
16          tester.mockResource(tester.apiBase, defaultRootResource());
17      }
18  }