Completed
Push — develop ( 7e22f8...0be30d )
by Tom
04:37
created

ViewCommandTest::testExecute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 9.4285
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
3
namespace N98\Magento\Command\Cache;
4
5
use N98\Magento\Command\TestCase;
6
7
class ViewCommandTest extends TestCase
8
{
9
    public function testExecute()
10
    {
11
        $this->assertDisplayContains(
12
            [
13
                'command' => 'cache:view',
14
                'id'      => 'NON_EXISTING_ID',
15
                '--fpc'   => true,
16
            ],
17
            "Cache id NON_EXISTING_ID does not exist (anymore)"
18
        );
19
    }
20
}
21