MapFragment extends Fragment { public void getMapAsync(final OnMapReadyCallback callback) { mapView.getMapAsync(callback); }  @Override View onCreateView(LayoutInflater inflater, ViewGroup container,
      Bundle savedInstanceState); @Override void onInflate(Context context, AttributeSet attrs, Bundle savedInstanceState); void getMapAsync(final OnMapReadyCallback callback); void getMapAsync(String mapId, final OnMapReadyCallback callback); void getMapAsync(MapStyle mapStyle, final OnMapReadyCallback callback); void getMapAsync(String mapId, MapStyle mapStyle, final OnMapReadyCallback callback); void getMapAsync(MapStyle mapStyle, Locale locale, final OnMapReadyCallback callback); void getMapAsync(MapStyle mapStyle, String mapId, Locale locale,
      final OnMapReadyCallback callback); @Override void onDestroy();  }
@Test public void getMap_shouldReturnMapzenMap() throws Exception { TestCallback callback = new TestCallback(); mapFragment.getMapAsync(callback); assertThat(callback.map).isInstanceOf(MapzenMap.class); }