SettingsTest::testCanConstruct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace SES\Tests;
4
5
use SES\Settings;
6
7
/**
8
 * @covers \SES\Settings
9
 *
10
 * @group semantic-signup
11
 *
12
 * @license GNU GPL v2+
13
 * @since 1.0
14
 *
15
 * @author mwjames
16
 */
17
class SettingsTest extends \PHPUnit_Framework_TestCase {
18
19
	public function testCanConstruct() {
20
21
		$this->assertInstanceOf(
22
			'\SES\Settings',
23
			new Settings()
24
		);
25
	}
26
27
	public function testGetSettings() {
28
29
		$instance = new Settings();
30
31
		$this->assertInternalType(
32
			'array',
33
			$instance->getSettings()
34
		);
35
	}
36
37
}
38