@Test public void showLocationMarker_shouldNotCrashIfLayersIsNull() throws Exception { mapFragment.setAct(new BaseActivityWithNullLayers()); mapFragment.showLocationMarker(); }
@Test public void onActivityCreated_shouldVerifyTileCacheDirectoryIsAvailable() throws Exception { BaseActivityWithNullCache baseActivityWithNullCache = new BaseActivityWithNullCache(); mapFragment.setAct(baseActivityWithNullCache); mapFragment.onActivityCreated(null); }