ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FactoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use PHPUnit\Framework\TestCase;
25use ILIAS\MetaData\Paths\NullFactory as NullPathFactory;
26use ILIAS\MetaData\Search\Clauses\NullFactory as NullClauseFactory;
27use ILIAS\MetaData\Search\Filters\NullFactory as NullFilterFactory;
28
29class FactoryTest extends TestCase
30{
31 public function testGet(): void
32 {
33 $factory = new Factory(
34 new NullFilterFactory(),
35 new NullClauseFactory(),
36 new NullPathFactory(),
37 new NullHandler()
38 );
39
40 $searcher = $factory->get();
41
42 $this->assertInstanceOf(Searcher::class, $searcher);
43 }
44}