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 UserDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
  @Autowired 
  private UserDAO userDAO; 
 
  @BeforeMethod 
  public void init() { 
 
  } 
 
  @Test 
  public void touchAdd() { 
      userDAO.add(new UserEntity()); 
  } 
 
  @Test 
Connect your IDE to all the code out there  Get Codota for Java