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