Completed
Push — master ( bb7259...dc298a )
by Sam
03:00
created

ArrayReaderTest::testReader()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 10
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Configuration\Reader;
4
5
use Jalle19\StatusManager\Configuration\Reader\ArrayReader;
6
7
/**
8
 * Class ArrayReaderTest
9
 * @package   Jalle19\StatusManager\Test\Configuration\Reader
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 ArrayReaderTest extends \PHPUnit_Framework_TestCase
14
{
15
16
	/**
17
	 * 
18
	 */
19
	public function testReader()
20
	{
21
		$configuration = [
22
			'foo' => 'bar',
23
			'baz',
24
		];
25
26
		$reader = new ArrayReader($configuration);
27
		$this->assertEquals($configuration, $reader->readConfiguration());
28
	}
29
30
}
31