Skip to content

Instantly share code, notes, and snippets.

@newtriks
Created August 11, 2011 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newtriks/1139788 to your computer and use it in GitHub Desktop.
Save newtriks/1139788 to your computer and use it in GitHub Desktop.
Preparing Mockolate example in an ASUnit4 TestCase
[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