/** * @test * @covers Sylius\Bundle\FlowBundle\Process\Process::removeStep * @expectedException \InvalidArgumentException */ public function shouldNotRemoveStepWhenWasNotSet() { $process = new Process(); $process->removeStep('foo'); }