ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
FactoryTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 use ILIAS\MetaData\Search\Clauses\NullFactory as NullClauseFactory;
27 use ILIAS\MetaData\Search\Filters\NullFactory as NullFilterFactory;
28 
29 class 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 }