FlashesTest::tearDown()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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