Created
March 13, 2011 22:28
-
-
Save kristoferjoseph/868502 to your computer and use it in GitHub Desktop.
Cheap way to test a mock service that only returns a success
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
Async.proceedOnEvent( this | |
, mockService.callSuccess() | |
, ResultEvent.RESULT | |
, 50 | |
, function(event:Event=null):void | |
{ | |
assertTrue(true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment