ActivityBeansCache { public SyncBeanDef<Activity> getActivity(final String id) { if (id == null) { return null; } return activitiesById.get(id); } ActivityBeansCache(); @Inject  ActivityBeansCache(SyncBeanManager iocManager,
                              Event<NewPerspectiveEvent> newPerspectiveEventEvent,
                              Event<NewWorkbenchScreenEvent> newWorkbenchScreenEventEvent,
                              ResourceTypeManagerCache resourceTypeManagerCache,
                              ExperimentalActivitiesAuthorizationManager experimentalActivitiesAuthorizationManager,
                              GWTEditorNativeRegister gwtEditorNativeRegister); void removeActivity(String id); void addNewScreenActivity(final SyncBeanDef<Activity> activityBean); void addNewPerspectiveActivity(final SyncBeanDef<Activity> activityBean); void addNewEditorActivity(final SyncBeanDef<Activity> activityBean,
                                     String priority,
                                     String resourceTypeName); void addNewEditorActivity(final SyncBeanDef<Activity> syncBeanDef,
                                     final int priority,
                                     final List<String> resourceTypes); void addNewSplashScreenActivity(final SyncBeanDef<Activity> activityBean); boolean hasActivity(String id); List<SplashScreenActivity> getSplashScreens(); SyncBeanDef<Activity> getActivity(final String id); SyncBeanDef<Activity> getActivity(final Path path); List<SyncBeanDef<Activity>> getPerspectiveActivities(); List<String> getActivitiesById(); void noOp();  }
@Test public void getActivitiesNull() { assertNull(cache.getActivity((String) null)); }