public function setUp() { parent::setUp(); $this->dispatcher = $this->getMockBuilder('Symfony\\Component\\EventDispatcher\\EventDispatcher')->disableOriginalConstructor()->getMock(); $this->object = new ListenableStateMachine(null, $this->dispatcher, $this->accessor); }
protected function setUp() { parent::setUp(); $this->initialize(); $this->graphviz = new Graphviz(new Configuration()); }