Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function testGetReader() |
||
10 | { |
||
11 | $om = $this->getMockBuilder('\Doctrine\Common\Persistence\ObjectManager')->getMock(); |
||
12 | $factory = new DoctrineReaderFactory($om); |
||
13 | $reader = $factory->getReader('Some:Object'); |
||
14 | $this->assertInstanceOf('\Ddeboer\DataImport\Reader\DoctrineReader', $reader); |
||
15 | } |
||
16 | } |