@@ -0,0 +1,1122 @@
+package com.hida.dao;%0A%0Aimport javax.sql.DataSource;%0A %0Aimport org.dbunit.database.DatabaseDataSourceConnection;%0Aimport org.dbunit.database.IDatabaseConnection;%0Aimport org.dbunit.dataset.IDataSet;%0Aimport org.dbunit.operation.DatabaseOperation;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests;%0Aimport org.testng.annotations.BeforeMethod;%0A %0Aimport com.hida.configuration.HibernateTestConfiguration;%0A %0A %0A/**%0A * %0A * @author lruffin%0A */%0A@ContextConfiguration(classes = %7B HibernateTestConfiguration.class %7D)%0Apublic abstract class EntityDaoImplTest extends AbstractTransactionalTestNGSpringContextTests %7B%0A %0A    @Autowired%0A    DataSource dataSource;%0A %0A    @BeforeMethod%0A    public void setUp() throws Exception %7B%0A        IDatabaseConnection dbConn = new DatabaseDataSourceConnection(%0A                dataSource);%0A        DatabaseOperation.CLEAN_INSERT.execute(dbConn, getDataSet());%0A    %7D%0A     %0A    protected abstract IDataSet getDataSet() throws Exception;%0A %0A%7D%0A

Add EntityDaoImplTest