You are here

function StateMachineUnitTest::setup in State Machine 7

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

File

tests/state_machine.test, line 101

Class

StateMachineUnitTest
Unit tests for the State Machine classes.

Code

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