Failed Conditions
Pull Request — master (#790)
by Guilherme
10:36 queued 05:09
created

CredentialsTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
/**
3
 * This file is part of the login-cidadao project or it's bundles.
4
 *
5
 * (c) Guilherme Donato <guilhermednt on github>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace PROCERGS\LoginCidadao\NfgBundle\Security;
12
13
use PHPUnit\Framework\TestCase;
14
15
class CredentialsTest extends TestCase
16
{
17
    public function testCredentials()
18
    {
19
        $credentials = new Credentials('org', 'user', 'pass');
20
21
        $this->assertEquals('org', $credentials->getOrganization());
22
        $this->assertEquals('user', $credentials->getUsername());
23
        $this->assertEquals('pass', $credentials->getPassword());
24
    }
25
}
26