### Question:
ContextComponentManager extends DelegateComponentManager { @Override public void setComponentEventManager(ComponentEventManager eventManager) { throwException(); }  @Override ComponentManager getComponentManager(); @Override void registerComponent(ComponentDescriptor<T> componentDescriptor, T componentInstance); @Override void registerComponent(ComponentDescriptor<T> componentDescriptor); @Override void setComponentEventManager(ComponentEventManager eventManager); @Override void setParent(ComponentManager parentComponentManager);  }### Answer:
@Test(expected = RuntimeException.class) public void testSetComponentEventManager() throws ComponentLookupException, Exception { ComponentManager contextCM = getComponentManager().getInstance(ComponentManager.class, "context"); contextCM.setComponentEventManager(null); }