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 RolePolicyDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
    @Autowired 
    private RolePolicyDAO rolePolicyDAO; 
 
    @Test 
    public void touchAdd() { 
        rolePolicyDAO.add(new RolePolicyEntity()); 
    } 
 
    @Test 
    public void touchFindById() { 
        rolePolicyDAO.findById(""); 
    } 
 
    @Test