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 UserRoleDAOTouchTest extends AbstractTransactionalTestNGSpringContextTests { 
 
    @Autowired 
    private UserRoleDAO userRoleDAO; 
 
    @Test 
    public void touchAdd() { 
       UserRoleEntity entity = new UserRoleEntity(); 
       entity.setRoleId(""); 
       entity.setUserId(""); 
       entity.setServiceId(""); 
       userRoleDAO.add(entity); 
    } 
 
    @Test 
Contextual code suggestions in your IDE  Get Codota for Java