ListCommandTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testCommandIsFound() 0 6 1
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