@Test public void testCreate() throws SQLException { OpenURLTracker tracker = new OpenURLTracker(); when(openURLTrackerDAO.create(any(), any())).thenReturn(tracker); assertEquals("TestCreate 0", tracker, openURLTrackerLoggerService.create(context)); }
@Override public OpenURLTracker create(Context context) throws SQLException { OpenURLTracker openURLTracker = openURLTrackerDAO.create(context, new OpenURLTracker()); return openURLTracker; }
FailedOpenURLTrackerServiceImpl implements FailedOpenURLTrackerService { @Override public OpenURLTracker create(Context context) throws SQLException { OpenURLTracker openURLTracker = openURLTrackerDAO.create(context, new OpenURLTracker()); return openURLTracker; } }
FailedOpenURLTrackerServiceImpl implements FailedOpenURLTrackerService { @Override public OpenURLTracker create(Context context) throws SQLException { OpenURLTracker openURLTracker = openURLTrackerDAO.create(context, new OpenURLTracker()); return openURLTracker; }  }
FailedOpenURLTrackerServiceImpl implements FailedOpenURLTrackerService { @Override public OpenURLTracker create(Context context) throws SQLException { OpenURLTracker openURLTracker = openURLTrackerDAO.create(context, new OpenURLTracker()); return openURLTracker; }  @Override void remove(Context context, OpenURLTracker openURLTracker); @Override List<OpenURLTracker> findAll(Context context); @Override OpenURLTracker create(Context context); }
FailedOpenURLTrackerServiceImpl implements FailedOpenURLTrackerService { @Override public OpenURLTracker create(Context context) throws SQLException { OpenURLTracker openURLTracker = openURLTrackerDAO.create(context, new OpenURLTracker()); return openURLTracker; }  @Override void remove(Context context, OpenURLTracker openURLTracker); @Override List<OpenURLTracker> findAll(Context context); @Override OpenURLTracker create(Context context);  }