Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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