Packagecom.asfusion.mate.testing
Classpublic class MockMethod



Public Properties
 PropertyDefined by
  async : Boolean = false
Use async with a true value when your mockGeneratorMethod will not immediately return a value and your mockGenerator will dispatch a ResultEvent or a FaultEvent
MockMethod
  cache : Boolean = true
MockMethod
  dataUrl : String
If you want the mock service to retrieve data, usually in XML format, from a URL, supply this property.
MockMethod
  delay : int = -1
If you want to delay the result of this service call, use the delay property with a value greater than 0.
MockMethod
  mockGenerator : Class
This is set at the parent Mock Service, but it is more convenient to pass it to the operations.
MockMethod
  mockGeneratorMethod : String
Method to call on the mockGenerator.
MockMethod
  name : String
service method name
MockMethod
Public Methods
 MethodDefined by
  
Constructor
MockMethod
Property detail
asyncproperty
public var async:Boolean = false

Use async with a true value when your mockGeneratorMethod will not immediately return a value and your mockGenerator will dispatch a ResultEvent or a FaultEvent

cacheproperty 
public var cache:Boolean = true

dataUrlproperty 
public var dataUrl:String

If you want the mock service to retrieve data, usually in XML format, from a URL, supply this property. Your mockGeneratorMethod will receive this data as the last argument of the function call

delayproperty 
public var delay:int = -1

If you want to delay the result of this service call, use the delay property with a value greater than 0. Seconds.

mockGeneratorproperty 
public var mockGenerator:Class

This is set at the parent Mock Service, but it is more convenient to pass it to the operations. It might let us specify this at this level too

mockGeneratorMethodproperty 
public var mockGeneratorMethod:String

Method to call on the mockGenerator. By default, this method is the same as the service method call

nameproperty 
public var name:String

service method name

Constructor detail
MockMethod()constructor
public function MockMethod()

Constructor