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 FwdRatesPM.as
3) The mock Action implementation, in our case called FxRatesActionMock.as
4) The GenericActionMock.as 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 FwdRatesEvent.as