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