Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function testRepositoryShouldBeSetCorrectly() |
||
17 | { |
||
18 | static::bootKernel(['test_case' => 'ORM']); |
||
19 | |||
20 | $repository = static::$kernel->getContainer()->get('fos_elastica.manager.orm') |
||
21 | ->getRepository('FOS\ElasticaBundle\Tests\Functional\TypeObject'); |
||
22 | |||
23 | $this->assertNotNull($repository); |
||
24 | $this->assertSame('FOS\ElasticaBundle\Tests\Functional\TypeObjectRepository', get_class($repository)); |
||
25 | } |
||
26 | } |
||
27 |