@Test public void testDeleteTopicTypes() { List<TopicType> list = Arrays.asList(topicType); topicTypeService.deleteTopicTypes(list); verify(dao).delete(topicTypeId); }
@Test public void saveTopic() { topicTypeService.saveOrUpdate(topicType); verify(dao).saveOrUpdate(topicType); }
@Test public void testDeleteTopicType() { topicTypeService.deleteTopicType(topicType); verify(dao).delete(topicTypeId); }
@Test public void testGetAll() { topicTypeService.getAll(); verify(dao).getAll(); }