ImportLocations extends BaseImport<LocationsData> { @Override protected String getUrl() { return StringUtils.appendOptional(WS_ENDPOINT, WS_LOCATIONS_URL); } @Inject  ImportLocations(Preferences prefs, OkHttpClient client, ObjectMapper mapper, JsonToDatabaseDao dao);   }
@Test public void should_return_locations_url() { String url = importer.getUrl(); assertThat(url).contains(BuildConfig.WS_LOCATIONS_URL); }