Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function testInstances() |
||
22 | { |
||
23 | $this->assertInstanceOf(SingletonsPool::class, SingletonsPool::getInstance('First')); |
||
24 | $this->assertInstanceOf(SingletonsPool::class, SingletonsPool::getInstance('Second')); |
||
25 | $this->assertNotSame(SingletonsPool::getInstance('First'), SingletonsPool::getInstance('Second')); |
||
26 | } |
||
28 |