@@ -0,0 +1,1031 @@
+package com.alcedomoreno.sirme.core.dao;%0A%0Aimport static org.junit.Assert.fail;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.support.AnnotationConfigContextLoader;%0Aimport org.springframework.transaction.annotation.Transactional;%0A%0Aimport com.alcedomoreno.sirme.core.AppTestConfig;%0Aimport com.alcedomoreno.sirme.core.dao.common.GenericDao;%0Aimport com.alcedomoreno.sirme.core.data.QuestionData;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(loader=AnnotationConfigContextLoader.class, classes=AppTestConfig.class)%0Apublic class GenericHibernateDaoTest %7B%0A%0A%09@Autowired%0A%09GenericDao%3CQuestionData%3E genericDao;%0A%0A%09@Test%0A%09@Transactional%0A%09public void loadAllTest()%7B%0A%0A%09%09try %7B%0A%09%09%09genericDao.loadAll(QuestionData.class);%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09fail(e.getMessage());%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create GenericHibernateDaoTest.java