Skip to content

Instantly share code, notes, and snippets.

@newtriks
Created August 11, 2011 14:31
Show Gist options
  • Select an option

  • Save newtriks/1139788 to your computer and use it in GitHub Desktop.

Select an option

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