@Test public void testGetIntentWithMapNameHoldsMapNameAsExtraString() { final String testMapName = "testMapName"; Intent intent = activity.getIntentWithMapName(testMapName); assertEquals(intent.getStringExtra("MapName"), testMapName); }
@Override public Intent getIntentWithMapName(final String mapName) { final Intent intent = new Intent(this, MapActivity.class); intent.putExtra("MapName", mapName); return intent; }
MapSelectionActivity extends AbstractMapSelectionActivity { @Override public Intent getIntentWithMapName(final String mapName) { final Intent intent = new Intent(this, MapActivity.class); intent.putExtra("MapName", mapName); return intent; } }
MapSelectionActivity extends AbstractMapSelectionActivity { @Override public Intent getIntentWithMapName(final String mapName) { final Intent intent = new Intent(this, MapActivity.class); intent.putExtra("MapName", mapName); return intent; }  }
MapSelectionActivity extends AbstractMapSelectionActivity { @Override public Intent getIntentWithMapName(final String mapName) { final Intent intent = new Intent(this, MapActivity.class); intent.putExtra("MapName", mapName); return intent; }  @Override Intent getIntentWithMapName(final String mapName); }
MapSelectionActivity extends AbstractMapSelectionActivity { @Override public Intent getIntentWithMapName(final String mapName) { final Intent intent = new Intent(this, MapActivity.class); intent.putExtra("MapName", mapName); return intent; }  @Override Intent getIntentWithMapName(final String mapName);  }