Interface org.as2lib.test.mock.MethodBehaviorFactory

org.as2lib.core.BasicInterface
   +--org.as2lib.test.mock.MethodBehaviorFactory

Description

MethodBehaviorFactory creates and returns configured method behaviors.

Method Index

getMethodBehavior()

Inherited from BasicInterface

toString()

Method Detail

getMethodBehavior

public function getMethodBehavior(expectedMethodCall:MethodCall):MethodBehavior

Returns a method behaviour that is configured with the passed-in expectedMethodCall.

Parameters

expectedMethodCallthe expected method call to configure the returned behaviour with

Return

a method behaviour configured for the expectedMethodCall