### Question:
TransactionalComponentService extends AbstractTransactionalEntityService<Component, ComponentDao> implements ComponentService { @Override public ComponentBase baseComponentFor(ComponentType componentType) { return dao.getBaseComponent(componentType); } TransactionalComponentService(ComponentDao dao); @Override List<Component> getAll(); @Override void deleteComponent(Component component); @Deprecated @Override void saveComponent(Component component); @Override void reindexComponent(Jcommune jcommune); @Override Set<ComponentType> getAvailableTypes(); @Override ComponentBase baseComponentFor(ComponentType componentType); @Override Component getByType(ComponentType type); JCommuneNotifier getjCommuneNotifier(); void setjCommuneNotifier(JCommuneNotifier jCommuneNotifier); @Override void addComponent(Component component); @Override void updateComponent(Component component);  }### Answer:
@Test public void baseComponentFor() { ComponentType componentType = TestFixtures.randomComponentType(); componentService.baseComponentFor(componentType); verify(componentDao).getBaseComponent(componentType); }