Completed
Push — master ( f64edb...b0dbbc )
by Andrii
04:34
created

PluginTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 1
cbo 0
dl 0
loc 29
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A tearDown() 0 3 1
A testConstructor() 0 4 1
1
<?php
2
3
/*
4
 * PHP-CS-Fixer plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-php-cs-fixer
7
 * @package   hidev-php-cs-fixer
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\phpcsfixer\tests\unit;
13
14
use hidev\phpcsfixer\Plugin;
15
16
/**
17
 * Generated by PHPUnit_SkeletonGenerator on 2015-11-23 at 10:17:16.
18
 */
19
class PluginTest extends \PHPUnit_Framework_TestCase
20
{
21
    /**
22
     * @var Plugin
23
     */
24
    protected $object;
25
26
    /**
27
     * Sets up the fixture, for example, opens a network connection.
28
     * This method is called before a test is executed.
29
     */
30
    protected function setUp()
31
    {
32
        $this->object = new Plugin();
33
    }
34
35
    /**
36
     * Tears down the fixture, for example, closes a network connection.
37
     * This method is called after a test is executed.
38
     */
39
    protected function tearDown()
40
    {
41
    }
42
43
    public function testConstructor()
44
    {
45
        $this->assertTrue(is_object($this->object));
46
    }
47
}
48