/** * @inheritdoc */ public function createStack($stackName) { $this->currentState->startCreation($stackName); }
public function test_startCreation() { $this->setExpectedException('Trismegiste\\PortalBundle\\Model\\State\\InvalidTransitionException'); $this->sut->startCreation('fgssgh'); }