### Question:
TransactionalTopicTypeService extends AbstractTransactionalEntityService<TopicType, TopicTypeDao> implements TopicTypeService { @Override public void deleteTopicTypes(Collection<TopicType> topicTypes) { for (TopicType topicType : topicTypes) { deleteTopicType(topicType); } } TransactionalTopicTypeService(TopicTypeDao topicDao); @Override List<TopicType> getAll(); @Override void deleteTopicType(TopicType topicType); @Override void saveOrUpdate(TopicType topicType); @Override void deleteTopicTypes(Collection<TopicType> topicTypes);  }### Answer:
@Test public void testDeleteTopicTypes() { List<TopicType> list = Arrays.asList(topicType); topicTypeService.deleteTopicTypes(list); verify(dao).delete(topicTypeId); }