| @@ 36-47 (lines=12) @@ | ||
| 33 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => false]); |
|
| 34 | } |
|
| 35 | ||
| 36 | public function testRootNull() |
|
| 37 | { |
|
| 38 | $this->assertEquals( |
|
| 39 | [ |
|
| 40 | "ignored_services" => [], |
|
| 41 | "preferred_services" => [], |
|
| 42 | "fast_annotation_checks" => [], |
|
| 43 | "fast_annotation_checks_enabled" => true, |
|
| 44 | ], |
|
| 45 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => null]) |
|
| 46 | ); |
|
| 47 | } |
|
| 48 | ||
| 49 | public function testRootEmptyArray() |
|
| 50 | { |
|
| @@ 49-60 (lines=12) @@ | ||
| 46 | ); |
|
| 47 | } |
|
| 48 | ||
| 49 | public function testRootEmptyArray() |
|
| 50 | { |
|
| 51 | $this->assertEquals( |
|
| 52 | [ |
|
| 53 | "ignored_services" => [], |
|
| 54 | "preferred_services" => [], |
|
| 55 | "fast_annotation_checks" => [], |
|
| 56 | "fast_annotation_checks_enabled" => true, |
|
| 57 | ], |
|
| 58 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => []]) |
|
| 59 | ); |
|
| 60 | } |
|
| 61 | ||
| 62 | public function testIgnoredServicesInvalid() |
|
| 63 | { |
|
| @@ 139-152 (lines=14) @@ | ||
| 136 | ]]); |
|
| 137 | } |
|
| 138 | ||
| 139 | public function testFastAnnotationChecksEnabled() |
|
| 140 | { |
|
| 141 | $this->assertEquals( |
|
| 142 | [ |
|
| 143 | "ignored_services" => [], |
|
| 144 | "preferred_services" => [], |
|
| 145 | "fast_annotation_checks" => [], |
|
| 146 | "fast_annotation_checks_enabled" => false, |
|
| 147 | ], |
|
| 148 | $this->processor->process($this->configTreeBuilder->buildTree(), ["autowiring" => [ |
|
| 149 | "fast_annotation_checks_enabled" => false, |
|
| 150 | ]]) |
|
| 151 | ); |
|
| 152 | } |
|
| 153 | ||
| 154 | } |
|
| 155 | ||