testAuthenticationResponse()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Message\Response;
4
5
use Jalle19\StatusManager\Message\Response\AuthenticationResponse;
6
use PHPUnit\Framework\TestCase;
7
8
/**
9
 * Class AuthenticationResponseTest
10
 * @package   Jalle19\StatusManager\Test\Message\Response
11
 * @copyright Copyright &copy; Sam Stenvall 2016-
12
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
13
 */
14
class AuthenticationResponseTest extends TestCase
15
{
16
17
	/**
18
	 * Not much to test here really
19
	 */
20
	public function testAuthenticationResponse()
21
	{
22
		$response = new AuthenticationResponse(AuthenticationResponse::STATUS_SUCCESS);
23
		$this->assertEquals(AuthenticationResponse::STATUS_SUCCESS, $response->getStatus());
24
	}
25
26
}
27