Created
August 11, 2011 14:31
-
-
Save newtriks/1139788 to your computer and use it in GitHub Desktop.
Preparing Mockolate example in an ASUnit4 TestCase
This file contains 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
[Inject] | |
public var async:IAsync; | |
[Before] | |
public function prepareMockolates():void | |
{ | |
var mockolateMaker:IEventDispatcher=prepare(IModuleStore); | |
async.proceedOnEvent(mockolateMaker, Event.COMPLETE, 5000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment