Completed
Push — master ( fd0858...d5ba90 )
by Andrii
29:08 queued 13:19
created

PluginTest::testConstructor()   A

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
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * README plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-readme
7
 * @package   hidev-readme
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\readme\tests\unit;
13
14
use hidev\readme\Plugin;
15
16
/**
17
 * Plugin test class.
18
 */
19
class PluginTest extends \PHPUnit_Framework_TestCase
20
{
21
    /**
22
     * @var Plugin
23
     */
24
    protected $object;
25
26
    protected function setUp()
27
    {
28
        $this->object = new Plugin();
29
    }
30
31
    protected function tearDown()
32
    {
33
    }
34
35
    public function testConstructor()
36
    {
37
        $this->assertArrayHasKey('goals', $this->object->getItems());
38
    }
39
}
40