### Question:
TransactionalComponentService extends AbstractTransactionalEntityService<Component, ComponentDao> implements ComponentService { @Override public Set<ComponentType> getAvailableTypes() { return dao.getAvailableTypes(); } 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 testGetAvailableTypes() { componentService.getAvailableTypes(); verify(componentDao).getAvailableTypes(); }