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 UserAffiliationDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
    @Autowired 
    private UserAffiliationDAO userAffiliationDAO; 
 
    @Test 
    public void touchAdd() { 
        userAffiliationDAO.add(new UserAffiliationEntity()); 
    } 
 
    @Test 
    public void touchFindById() { 
        userAffiliationDAO.findById(""); 
    } 
 
    @Test 
Connect your IDE to all the code out there  Get Codota for Java