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

This entry was posted in RemoteObject Mock Flex. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s