Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testCreate() |
||
19 | { |
||
20 | $dispatcher = $this->prophesize(EventDispatcherInterface::class)->reveal(); |
||
21 | $factory = new PipelineFactory($dispatcher); |
||
22 | |||
23 | $pipeline = $factory->create(5); |
||
24 | |||
25 | $this->assertInstanceOf(Pipeline::class, $pipeline); |
||
26 | $this->assertEquals(5, $pipeline->getNumber()); |
||
27 | } |
||
28 | } |
||
29 |