Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function testProcess() |
||
25 | { |
||
26 | $user = $this->prophesize(FrontendUser::class); |
||
27 | |||
28 | $enricher = $this->prophesize(SamlHostnameEnricher::class); |
||
29 | $enricher->process($user->reveal(), []); |
||
30 | |||
31 | GeneralUtility::addInstance(SamlHostnameEnricher::class, $enricher->reveal()); |
||
32 | EnricherRegistry::register(SamlHostnameEnricher::class); |
||
33 | |||
34 | $this->registry->process($user->reveal(), []); |
||
35 | } |
||
46 |