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

IoHelperTest::creation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 0
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