Code example for AbstractTransactionalTestNGSpringContextTests

0
 * 
 * @author vitaly.yakunin 
 */ 
@ContextConfiguration(locations = {"classpath:applicationContext-test.xml","classpath:dozer-application-context-test.xml"}) 
@TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = true) 
public class ReportCriteriaParamDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
    @Autowired 
    private ReportCriteriaParamDao criteriaParamDao; 
 
    @Test 
    public void touchSave() { 
        criteriaParamDao.save(new ReportCriteriaParamEntity()); 
    } 
 
    @Test 
    public void touchFindByReportInfoId() { 
        criteriaParamDao.findByReportInfoId("1"); 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java