Completed
Push — master ( 9e5f92...20593e )
by Andrii
02:28
created

FlashesTest::testConstruct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * Yii2 adapter for PNotify JQuery extension
5
 *
6
 * @link      https://github.com/hiqdev/yii2-pnotify
7
 * @package   yii2-pnotify
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hiqdev\pnotify\tests\unit;
13
14
use hiqdev\pnotify\Flashes;
15
16
class FlashesTest extends \PHPUnit_Framework_TestCase
17
{
18
    /**
19
     * @var Flashes
20
     */
21
    protected $object;
22
23
    protected function setUp()
24
    {
25
        $this->object = new Flashes();
26
    }
27
28
    protected function tearDown()
29
    {
30
    }
31
32
    public function testConstruct()
33
    {
34
        $this->assertInstanceOf(Flashes::class, $this->object);
35
    }
36
}
37