public function it_throws_an_exception_if_a_workflow_does_not_exist($pipelines)
    {
    	$pipelines->exists('unknownWorkflow')->shouldBeCalled()->willReturn(false);

    	$this->shouldThrow('BadFunctionCallException')->duringUnknownWorkflow();
    }
public function it_throws_an_exception_if_a_workflow_does_not_exist($pipelines)
    {
    	$pipelines->exists('unknownWorkflow')->shouldBeCalled()->willReturn(false);

    	$this->shouldThrow('BadFunctionCallException')->duringUnknownWorkflow();
    }
@testdox	It throws an exception if a workflow does not exist.

@author	Andrea Marco Sartori
@return	void