Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function testProcess() |
||
23 | { |
||
24 | $user = $this->prophesize(FrontendUser::class); |
||
25 | $user->setProperty('first_name', 'foo')->shouldBeCalled(); |
||
26 | $user->setProperty('last_name', 'bar')->shouldBeCalled(); |
||
27 | $user->setProperty('email', 'foo@bar')->shouldBeCalled(); |
||
28 | |||
29 | $this->enricher->process($user->reveal(), [ |
||
30 | 'attributes' => [ |
||
31 | 'givenname' => 'foo', |
||
32 | 'sn' => 'bar', |
||
33 | 'mail' => 'foo@bar', |
||
34 | ] |
||
38 |