spec/Cerbero/Workflow/Repositories/YamlPipelineRepositorySpec.php
public function it_stores_the_given_pipeline_and_its_pipes($parser, $files)
    {
        $parser->dump($this->pipeline)->willReturn('foo');

        $files->append('path/to/workflows/workflows.yml', 'foo')->shouldBeCalled();

        $this->store('RegisterUser', ['Notifier', 'Logger']);
    }
public function it_stores_the_given_pipeline_and_its_pipes($parser, $files)
    {
        $parser->dump($this->pipeline)->willReturn('foo');

        $files->append('path/to/workflows/workflows.yml', 'foo')->shouldBeCalled();

        $this->store('RegisterUser', ['Notifier', 'Logger']);
    }
@testdox    It stores the given pipeline and its pipes.

@author    Andrea Marco Sartori
@return    void