Completed
Push — sf2.7 ( 18de34...b252b6 )
by Laurent
18:26
created

UserTest   A

Complexity

Total Complexity 17

Size/Duplication

Total Lines 189
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 17
c 1
b 0
f 0
lcom 2
cbo 2
dl 0
loc 189
rs 10

17 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A tearDown() 0 3 1
A testSetLoginCount() 0 6 1
A testGetLoginCount() 0 6 1
A testSetFirstLogin() 0 6 1
A testGetFirstLogin() 0 6 1
A testGetEnabled() 0 6 1
A testGetLocked() 0 6 1
A testGetExpired() 0 6 1
A testGetExpiresAt() 0 6 1
A testGetCredentialsExpired() 0 6 1
A testGetCredentialsExpireAt() 0 6 1
A testSetSalt() 0 6 1
A testSetPassword() 0 6 1
A testSetGroups() 0 6 1
A testSetRoles() 0 6 1
A testHasGroup() 0 6 1
1
<?php
2
3
namespace AppBundle\Entity;
4
5
/**
6
 * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:34.
7
 */
8
class UserTest extends \PHPUnit_Framework_TestCase {
9
10
    /**
11
     * @var User
12
     */
13
    protected $object;
14
15
    /**
16
     * Sets up the fixture, for example, opens a network connection.
17
     * This method is called before a test is executed.
18
     */
19
    protected function setUp() {
20
        $this->object = new User;
21
    }
22
23
    /**
24
     * Tears down the fixture, for example, closes a network connection.
25
     * This method is called after a test is executed.
26
     */
27
    protected function tearDown() {
28
        
29
    }
30
31
    /**
32
     * @covers AppBundle\Entity\User::setLoginCount
33
     * @todo   Implement testSetLoginCount().
34
     */
35
    public function testSetLoginCount() {
36
        // Remove the following lines when you implement this test.
37
        $this->markTestIncomplete(
38
            'This test has not been implemented yet.'
39
        );
40
    }
41
42
    /**
43
     * @covers AppBundle\Entity\User::getLoginCount
44
     * @todo   Implement testGetLoginCount().
45
     */
46
    public function testGetLoginCount() {
47
        // Remove the following lines when you implement this test.
48
        $this->markTestIncomplete(
49
            'This test has not been implemented yet.'
50
        );
51
    }
52
53
    /**
54
     * @covers AppBundle\Entity\User::setFirstLogin
55
     * @todo   Implement testSetFirstLogin().
56
     */
57
    public function testSetFirstLogin() {
58
        // Remove the following lines when you implement this test.
59
        $this->markTestIncomplete(
60
            'This test has not been implemented yet.'
61
        );
62
    }
63
64
    /**
65
     * @covers AppBundle\Entity\User::getFirstLogin
66
     * @todo   Implement testGetFirstLogin().
67
     */
68
    public function testGetFirstLogin() {
69
        // Remove the following lines when you implement this test.
70
        $this->markTestIncomplete(
71
            'This test has not been implemented yet.'
72
        );
73
    }
74
75
    /**
76
     * @covers AppBundle\Entity\User::getEnabled
77
     * @todo   Implement testGetEnabled().
78
     */
79
    public function testGetEnabled() {
80
        // Remove the following lines when you implement this test.
81
        $this->markTestIncomplete(
82
            'This test has not been implemented yet.'
83
        );
84
    }
85
86
    /**
87
     * @covers AppBundle\Entity\User::getLocked
88
     * @todo   Implement testGetLocked().
89
     */
90
    public function testGetLocked() {
91
        // Remove the following lines when you implement this test.
92
        $this->markTestIncomplete(
93
            'This test has not been implemented yet.'
94
        );
95
    }
96
97
    /**
98
     * @covers AppBundle\Entity\User::getExpired
99
     * @todo   Implement testGetExpired().
100
     */
101
    public function testGetExpired() {
102
        // Remove the following lines when you implement this test.
103
        $this->markTestIncomplete(
104
            'This test has not been implemented yet.'
105
        );
106
    }
107
108
    /**
109
     * @covers AppBundle\Entity\User::getExpiresAt
110
     * @todo   Implement testGetExpiresAt().
111
     */
112
    public function testGetExpiresAt() {
113
        // Remove the following lines when you implement this test.
114
        $this->markTestIncomplete(
115
            'This test has not been implemented yet.'
116
        );
117
    }
118
119
    /**
120
     * @covers AppBundle\Entity\User::getCredentialsExpired
121
     * @todo   Implement testGetCredentialsExpired().
122
     */
123
    public function testGetCredentialsExpired() {
124
        // Remove the following lines when you implement this test.
125
        $this->markTestIncomplete(
126
            'This test has not been implemented yet.'
127
        );
128
    }
129
130
    /**
131
     * @covers AppBundle\Entity\User::getCredentialsExpireAt
132
     * @todo   Implement testGetCredentialsExpireAt().
133
     */
134
    public function testGetCredentialsExpireAt() {
135
        // Remove the following lines when you implement this test.
136
        $this->markTestIncomplete(
137
            'This test has not been implemented yet.'
138
        );
139
    }
140
141
    /**
142
     * @covers AppBundle\Entity\User::setSalt
143
     * @todo   Implement testSetSalt().
144
     */
145
    public function testSetSalt() {
146
        // Remove the following lines when you implement this test.
147
        $this->markTestIncomplete(
148
            'This test has not been implemented yet.'
149
        );
150
    }
151
152
    /**
153
     * @covers AppBundle\Entity\User::setPassword
154
     * @todo   Implement testSetPassword().
155
     */
156
    public function testSetPassword() {
157
        // Remove the following lines when you implement this test.
158
        $this->markTestIncomplete(
159
            'This test has not been implemented yet.'
160
        );
161
    }
162
163
    /**
164
     * @covers AppBundle\Entity\User::setGroups
165
     * @todo   Implement testSetGroups().
166
     */
167
    public function testSetGroups() {
168
        // Remove the following lines when you implement this test.
169
        $this->markTestIncomplete(
170
            'This test has not been implemented yet.'
171
        );
172
    }
173
174
    /**
175
     * @covers AppBundle\Entity\User::setRoles
176
     * @todo   Implement testSetRoles().
177
     */
178
    public function testSetRoles() {
179
        // Remove the following lines when you implement this test.
180
        $this->markTestIncomplete(
181
            'This test has not been implemented yet.'
182
        );
183
    }
184
185
    /**
186
     * @covers AppBundle\Entity\User::hasGroup
187
     * @todo   Implement testHasGroup().
188
     */
189
    public function testHasGroup() {
190
        // Remove the following lines when you implement this test.
191
        $this->markTestIncomplete(
192
            'This test has not been implemented yet.'
193
        );
194
    }
195
196
}
197