Total Complexity | 6 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class UserTest extends \PHPUnit\Framework\TestCase |
||
10 | { |
||
11 | private $object; |
||
12 | |||
13 | |||
14 | protected function setUp() : void |
||
15 | { |
||
16 | $this->object = new User(); |
||
17 | } |
||
18 | |||
19 | |||
20 | public function testGetId() |
||
23 | } |
||
24 | |||
25 | |||
26 | public function testGetUserIdentifier() |
||
27 | { |
||
28 | $this->assertEquals( null, $this->object->getUserIdentifier() ); |
||
29 | } |
||
30 | |||
31 | |||
32 | public function testGetPassword() |
||
35 | } |
||
36 | |||
37 | |||
38 | public function testGetRoles() |
||
39 | { |
||
40 | $this->assertEquals( array( 'ROLE_USER' ), $this->object->getRoles() ); |
||
41 | } |
||
42 | |||
43 | |||
44 | public function testEraseCredentials() |
||
48 | } |
||
49 | } |
||
50 |