Completed
Push — master ( e80d6f...0d9475 )
by WEBEWEB
02:25
created

HTTPUtilityTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the core-library package.
5
 *
6
 * (c) 2017 NdC/WBW
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Core\Tests\Utility;
13
14
use PHPUnit_Framework_TestCase;
15
use WBW\Library\Core\Utility\HTTPUtility;
16
17
/**
18
 * HTTP utility test.
19
 *
20
 * @author NdC/WBW <https://github.com/webeweb/>
21
 * @package WBW\Library\Core\Tests\Utility
22
 * @final
23
 */
24
final class HTTPUtilityTest extends PHPUnit_Framework_TestCase {
25
26
	/**
27
	 * Tests the getCodes() method.
28
	 *
29
	 * @return void
30
	 */
31
	public function testGetCodes() {
32
33
		$res = HTTPUtility::getCodes();
34
		$this->assertCount(57, $res);
35
	}
36
37
}
38