Completed
Pull Request — master (#912)
by
unknown
07:49
created

IoHelperTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A creation() 0 9 1
1
<?php
2
/**
3
 * this file is part of magerun
4
 *
5
 * @author Tom Klingenberg <https://github.com/ktomk>
6
 */
7
8
namespace N98\Util\Console\Helper;
9
10
use N98\Magento\Command\TestCase;
11
12
/**
13
 * Class IoHelperTest
14
 *
15
 * @package N98\Util\Console\Helper
16
 */
17
class IoHelperTest extends TestCase
18
{
19
    /**
20
     * @test
21
     */
22
    public function creation()
23
    {
24
        $helper = new IoHelper();
25
        $this->assertInstanceOf('N98\Util\Console\Helper\IoHelper', $helper);
26
        $this->assertInstanceOf('Symfony\Component\Console\Helper\HelperInterface', $helper);
27
        $this->assertNull($helper->getOutput());
28
29
        $this->assertSame('io', $helper->getName());
30
    }
31
}
32