@Test public void shouldPointToDefaultTileService() throws Exception { assertThat(mapFragment.getTileBaseSource()) .isEqualTo( mapFragment .getActivity() .getResources() .getString(R.string.settings_default_mapsource)); }
@Test public void shouldPointToConfiguredTileService() throws Exception { String expected = "http://test.com"; setTileSourceConfiguration(expected); assertThat(mapFragment.getTileBaseSource()).isEqualTo(expected); }