/** * @inheritdoc */ public function deploymentFailed() { $this->currentState->rollbacked(); }
public function test_rollbacked() { $this->setExpectedException('Trismegiste\\PortalBundle\\Model\\State\\InvalidTransitionException'); $this->sut->rollbacked(); }