| Total Complexity | 3 | 
| Total Lines | 36 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 16 | class FulltextSearchExtensionTest extends SapphireTest  | 
            ||
| 17 | { | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * @var BaseIndex  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $index;  | 
            ||
| 23 | |||
| 24 | public function testSearch()  | 
            ||
| 25 |     { | 
            ||
| 26 | $query = new BaseQuery();  | 
            ||
| 27 |         $query->addTerm('Test'); | 
            ||
| 28 | |||
| 29 | $result = $this->index->search($query, 0, 10, [], true);  | 
            ||
| 30 | |||
| 31 | $this->assertInstanceOf(ArrayData::class, $result);  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @expectedException \LogicException  | 
            ||
| 36 | */  | 
            ||
| 37 | public function testInitToYml()  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | |||
| 43 | protected function setUp()  | 
            ||
| 52 | }  | 
            ||
| 53 | }  | 
            ||
| 54 |