...When my service proxies are instantiated they fire off a remote method to fill the data property of the proxy with an array of data from the server....
You can try this to get data from the server in your unit test:
var timer:Timer = new Timer(1);
//because the remote call will be asynchronous, then test it here
var testSuccess:Function = function(evt:*= null):void {
//for info on facade catching events
//
http://forums.puremvc.org/index.php?topic=276.0 if (facade.wasReceived(AuthenticationProxy.LOGIN_SUCCESSFUL)) {
trace("testing async stuff");
timer.stop();
}
else {
//test will loop until server return data
timer.addEventListener(TimerEvent.TIMER, addAsync(testSuccess, 10000));
}
}
timer.addEventListener(TimerEvent.TIMER, addAsync(testSuccess, 10000));
timer.start();