Interface org.as2lib.test.mock.MockControlStateFactory

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

Description

MockControlStateFactory creates and returns configured mock control states.

Method Index

getMockControlState()

Inherited from BasicInterface

toString()

Method Detail

getMockControlState

public function getMockControlState(behavior:Behavior):MockControlState

Returns a mock control state instance that is configured with the passed-in behavior.

Parameters

behaviorto be used by the returned mock control state

Return

a configured mock control state