Created
February 14, 2012 21:29
-
-
Save bittersweetryan/1830607 to your computer and use it in GitHub Desktop.
TransactionRollbackDecorator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript>//only for coloring | |
/** | |
* @mxunit:decorators mxunit.framework.decorators.TransactionRollbackDecorator | |
*/ | |
component extends="mxunit.framework.TestCase" hint=""{ | |
. | |
. | |
public void testSomething(){ | |
//add,update,delete database | |
assertEquals(); //or any other assertion | |
} | |
. | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment