Finite\Test\Loader\ArrayLoaderTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        $this->callbackHandler = $this->getMockBuilder('Finite\\Event\\CallbackHandler')->disableOriginalConstructor()->getMock();
        $this->object = new ArrayLoader(array('class' => 'Stateful1', 'states' => array('start' => array('type' => 'initial', 'properties' => array('foo' => true, 'bar' => false)), 'middle' => array('type' => 'normal', 'properties' => array()), 'end' => array('type' => 'final', 'properties' => array())), 'transitions' => array('middleize' => array('from' => array('start'), 'to' => 'middle'), 'finish' => array('from' => array('middle'), 'to' => 'end'))), $this->callbackHandler);
    }