How to mock RemoteObject

In order to do this, you need the following

1) A mockConfig.mxml file to hold the real model, the mock action and any mock database holding the canned data to be served up. This should be loaded first by the Parsley framework.

2) The real model

3) The mock Action implementation, in our case called

4) The that does all the work.

The FxRatesActionMock makes use of the GenericActionMock in order to simply perform its actions.

For the sake of completeness, you can here is

Posted in RemoteObject Mock Flex | Leave a comment