SettingsTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testCanConstruct() 0 7 1
A testGetSettings() 0 9 1
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