Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function testgetFactoryReturnsAssociatedFactory() |
||
39 | { |
||
40 | $registry = new Registry(); |
||
41 | |||
42 | $factory = $this->prophesize(Factory::class)->reveal(); |
||
43 | |||
44 | $registry->register(self::class, $factory); |
||
45 | |||
46 | $this->assertEquals( |
||
47 | $factory, |
||
48 | $registry->getFactory($this) |
||
49 | ); |
||
50 | } |
||
51 | } |
||
52 |