Completed
Push — master ( d312aa...bbe9f1 )
by Sam
03:12
created

AuthenticationResponseTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAuthenticationResponse() 0 5 1
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Message\Response;
4
5
use Jalle19\StatusManager\Message\Response\AuthenticationResponse;
6
7
/**
8
 * Class AuthenticationResponseTest
9
 * @package   Jalle19\StatusManager\Test\Message\Response
10
 * @copyright Copyright &copy; Sam Stenvall 2016-
11
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
12
 */
13
class AuthenticationResponseTest extends \PHPUnit_Framework_TestCase
14
{
15
16
	/**
17
	 * Not much to test here really
18
	 */
19
	public function testAuthenticationResponse()
20
	{
21
		$response = new AuthenticationResponse(AuthenticationResponse::STATUS_SUCCESS);
22
		$this->assertEquals(AuthenticationResponse::STATUS_SUCCESS, $response->getStatus());
23
	}
24
25
}
26