Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php declare(strict_types = 1); |
||
17 | final class FilterTest extends TestCase |
||
18 | { |
||
19 | /** |
||
20 | * @var Filter |
||
21 | */ |
||
22 | protected $filter; |
||
23 | |||
24 | /** |
||
25 | * Setup. |
||
26 | */ |
||
27 | protected function setUp(): void |
||
28 | { |
||
29 | $cache = DoctrineProvider::wrap( |
||
30 | new ArrayAdapter() |
||
31 | ); |
||
32 | |||
33 | $this->filter = new Filter(new CachedReader(new AnnotationReader(), $cache)); |
||
|
|||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Service init test. |
||
38 | */ |
||
39 | public function testWrapper(): void |
||
40 | { |
||
41 | // check if instance |
||
42 | static::assertInstanceOf(Filter::class, $this->filter); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Test Filter With Object that null. |
||
47 | */ |
||
48 | public function testFilterWithNullObject(): void |
||
52 | } |
||
53 | } |
||
54 |