/** * @test * @covers Sylius\Bundle\FlowBundle\Process\Process::getFirstStep */ public function shouldGetFirstStep() { $process = new Process(); $step1 = new TestStep(); $step2 = new TestStep(); $process->addStep('foo', $step1); $process->addStep('bar', $step2); $this->assertSame($step1, $process->getFirstStep()); }