| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 10 | public function testFactory(): void |
||
| 11 | { |
||
| 12 | $factory = new IndexablePayloadMutatorFactory(); |
||
| 13 | $indexCreator = $factory->getIndexablePayloadMutator(); |
||
| 14 | $this->assertInstanceOf('Suilven\FreeTextSearch\Interfaces\IndexablePayloadMutator', $indexCreator); |
||
| 15 | $this->assertInstanceOf( |
||
| 16 | 'Suilven\FreeTextSearch\Implementation\IdentityIndexablePayloadMutator', |
||
| 17 | $indexCreator |
||
| 18 | ); |
||
| 21 |