| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class DummyPasswordEnricherTest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var DummyPasswordEnricher |
||
| 14 | */ |
||
| 15 | private $enricher; |
||
| 16 | |||
| 17 | protected function setUp() |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testProcess() |
||
| 23 | { |
||
| 24 | $user = new FrontendUser([ |
||
| 25 | 'password' => null |
||
| 26 | ]); |
||
| 27 | |||
| 28 | $this->enricher->process($user, []); |
||
| 29 | |||
| 30 | static::assertNotNull($user->getProperty('password')); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function testPassword() |
||
| 41 | } |
||
| 42 | |||
| 43 | public function testPasswordNotExists() |
||
| 50 | } |
||
| 51 | } |
||
| 52 |