Use AbstractTransactionalSpringContextTests to rollback NUnit test case automatically
Ihavetwotestcases:UserTestandCustomerTest,bothofthemextendtheAbstractTransactionalSpringContextTests,theyareusingthesameconfigfile,soIwroteaBaseSpringTestclass:1:publicclassBaseSpringTest:AbstractTran