ListCommandTest::testCommandIsFound()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace Mongrate\MongrateBundle\Tests\Command;
4
5
use Symfony\Component\Console\Application;
6
use Symfony\Component\Console\Tester\CommandTester;
7
use Mongrate\MongrateBundle\Command\ListCommand;
8
9
class ListCommandTest extends AbstractCommandTest
10
{
11
    public function testCommandIsFound()
12
    {
13
        $this->application->add(new ListCommand($this->config));
14
15
        $this->assertCommandIsFound('mongrate:list-migrations', ListCommand::class);
16
    }
17
}
18