MapInitializer { public void takeDown() { controller.setSceneLoadListener(null); } @Inject  MapInitializer(Context context, MapzenMapHttpHandler mapzenMapHttpHandler,
      PersistDataManagers persistDataManagers, SceneUpdateManager sceneUpdateManager,
      BitmapMarkerManager bitmapMarkerManager, ImportYamlGenerator yamlGenerator); void init(final MapView mapView, final OnMapReadyCallback callback); void init(final MapView mapView, String mapId, final OnMapReadyCallback callback); void init(final MapView mapView, MapStyle mapStyle, final OnMapReadyCallback callback); void init(final MapView mapView, String mapId, MapStyle mapStyle,
      final OnMapReadyCallback callback); void init(final MapView mapView, MapStyle mapStyle, Locale locale,
      final OnMapReadyCallback callback); void init(final MapView mapView, String mapId, MapStyle mapStyle, Locale locale,
      final OnMapReadyCallback callback); void takeDown();  }
@Test public void takedown_shouldResetListener() throws Exception { MapController controller = mock(MapController.class); mapInitializer.controller = controller; mapInitializer.takeDown(); verify(controller).setSceneLoadListener(null); }