You are here

function StateMachineUnitTest::setup in State Machine 6

Same name and namespace in other branches
  1. 7.3 tests/state_machine.test \StateMachineUnitTest::setup()
  2. 7 tests/state_machine.test \StateMachineUnitTest::setup()
  3. 7.2 tests/state_machine.test \StateMachineUnitTest::setup()

File

tests/state_machine.test, line 98

Class

StateMachineUnitTest
Unit tests for the State Machine classes.

Code

function setup() {
  parent::setup('state_machine');
  $machine = new StateMachine_Test();
  $this->machine = $machine;
}