Code example for AbstractTransactionalTestNGSpringContextTests

Methods: assertUsers, fail

0
				break; 
			} 
			case "rollbackTxAndStartNewTx": 
			case "rollbackTxButDoNotStartNewTx": 
			case "startTxWithExistingTransaction": { 
				assertUsers("Dilbert"); 
				break; 
			} 
			case "rollbackTxAndStartNewTxWithDefaultCommitSemantics": { 
				assertUsers("Dilbert", "Dogbert"); 
				break; 
			} 
			default: { 
				fail("missing 'after transaction' assertion for test method: " + method); 
			} 
		} 
	} 
 
	@Test 
	@Transactional(propagation = Propagation.NOT_SUPPORTED) 
Contextual code suggestions in your IDE  Get Codota for Java