### Question:
ContextRootComponentManager extends DelegateComponentManager implements Initializable { @Override public <T> void registerComponent(ComponentDescriptor<T> componentDescriptor, T componentInstance) throws ComponentRepositoryException { this.rootComponentManager.registerComponent(componentDescriptor, componentInstance); }  @Override void initialize(); @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 public void test() throws Exception { this.mocker.getComponentUnderTest().getInstance(Type.class); this.mocker.getComponentUnderTest().getInstance(Type.class, "hint"); this.mocker.getComponentUnderTest().getComponentDescriptor(Type.class, "hint"); this.mocker.getComponentUnderTest().getComponentDescriptorList(Type.class); this.mocker.getComponentUnderTest().getComponentDescriptorList((Type)Type.class); this.mocker.getComponentUnderTest().getInstanceList(Type.class); this.mocker.getComponentUnderTest().getInstanceMap(Type.class); DefaultComponentDescriptor<Type> descriptor = new DefaultComponentDescriptor<>(); this.mocker.getComponentUnderTest().registerComponent(descriptor); this.mocker.getComponentUnderTest().registerComponent(descriptor, Type.class); verify(contextComponentManager).getInstance(Type.class); verify(contextComponentManager).getInstance(Type.class, "hint"); verify(contextComponentManager).getComponentDescriptor(Type.class, "hint"); verify(contextComponentManager).getComponentDescriptorList(Type.class); verify(contextComponentManager).getComponentDescriptorList((Type)Type.class); verify(contextComponentManager).getInstanceList(Type.class); verify(contextComponentManager).getInstanceMap(Type.class); verify(rootComponentManager).registerComponent(descriptor); verify(rootComponentManager).registerComponent(descriptor, Type.class); }