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 IdentityQuestionDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
    @Autowired 
    private IdentityQuestionDAO identityQuestionDAO; 
 
    @Test 
    public void touchAdd() { 
    	identityQuestionDAO.add(new IdentityQuestionEntity()); 
    } 
 
    @Test 
    public void touchFindById() { 
    	identityQuestionDAO.findById(""); 
    } 
 
    @Test