UnknownRequestExceptionTest::testGetType()   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 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Exception;
4
5
use Jalle19\StatusManager\Exception\UnknownRequestException;
6
use PHPUnit\Framework\TestCase;
7
8
/**
9
 * Class UnknownRequestExceptionTest
10
 * @package   Jalle19\StatusManager\Test\Exception
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 UnknownRequestExceptionTest extends TestCase
15
{
16
17
	/**
18
	 *
19
	 */
20
	public function testGetType()
21
	{
22
		$exception = new UnknownRequestException('foo');
23
		$this->assertEquals('foo', $exception->getType());
24
	}
25
26
}
27