@Override
  protected void setUp() throws Exception {
    super.setUp();
    service =
        new ExchangeRateServiceImpl(getTestContext()) {
          @Override
          void initialiseServices() {}

          /*@Override
          Document getDocument() throws IOException {
              return document;
          }*/
        };
    initializeMocks();
  }
예제 #2
0
 public void setUp() throws Exception {
   super.setUp();
   theme = new ThemeManager(null, getInstrumentation().getTargetContext().getResources());
 }
 public ListActivityTestHelper(ActivityTestCase testCase, T activity) {
   this(testCase.getInstrumentation(), activity);
 }