@Test public void testGetContextComponentManager() throws ComponentLookupException { ComponentManager cm = this.mocker.getInstance(ComponentManager.class, "context"); this.mocker.getComponentUnderTest(); Assert.assertSame(cm, ComponentManagerRegistry.getContextComponentManager()); }
public static ComponentManager getContextComponentManager() { return cmProvider.get(); }
ComponentManagerRegistry implements EventListener { public static ComponentManager getContextComponentManager() { return cmProvider.get(); } }
ComponentManagerRegistry implements EventListener { public static ComponentManager getContextComponentManager() { return cmProvider.get(); }  }
ComponentManagerRegistry implements EventListener { public static ComponentManager getContextComponentManager() { return cmProvider.get(); }  static ComponentManager getContextComponentManager(); @Override String getName(); @Override List<Event> getEvents(); @Override void onEvent(Event event, Object source, Object data); }
ComponentManagerRegistry implements EventListener { public static ComponentManager getContextComponentManager() { return cmProvider.get(); }  static ComponentManager getContextComponentManager(); @Override String getName(); @Override List<Event> getEvents(); @Override void onEvent(Event event, Object source, Object data);  }