Ejemplo n.º 1
0
 /**
  * @test
  * @covers Cocur\Plum\Workflow::getPipeline()
  */
 public function getPipelineShouldReturnOnlyElementsOfGivenType()
 {
     $filter = $this->getMockFilter();
     $converter = $this->getMockConverter();
     $this->workflow->addFilter($filter);
     $this->workflow->addConverter($converter);
     $this->assertCount(1, $this->workflow->getPipeline(Workflow::PIPELINE_TYPE_FILTER));
 }