Code Duplication    Length = 10-10 lines in 2 locations

test/unit/test/User/UserContextTest.php 2 locations

@@ 33-42 (lines=10) @@
30
 */
31
class UserContextTest extends TestCase
32
{
33
    public function testIdentity()
34
    {
35
        $identity = new SerializedIdentity();
36
37
        $organization = new OrganizationOptions();
38
39
        $sut = new UserContext($identity, $organization);
40
41
        self::assertSame($identity, $sut->getIdentity());
42
    }
43
44
    public function testOrganization()
45
    {
@@ 44-53 (lines=10) @@
41
        self::assertSame($identity, $sut->getIdentity());
42
    }
43
44
    public function testOrganization()
45
    {
46
        $identity = new SerializedIdentity();
47
48
        $organization = new OrganizationOptions();
49
50
        $sut = new UserContext($identity, $organization);
51
52
        self::assertSame($organization, $sut->getOrganization());
53
    }
54
}
55