Mockolate is a framework to create mock objects and test spies for AS3. A mock object can be used to simulate the behaviour of complex, real (non-mock) objects when using the real object would be impractical or impossible. Situations where a mock object would be useful:
  • is non-deterministic (like the current time),
  • has states that are difficult to reproduce (like network connections
Testing . URL.