Completed
Pull Request — master (#22)
by Bernardo Vieira da
03:26
created

TestAllCommandTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAllCommandIsFound() 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\TestAllCommand;
8
9
class TestAllCommandTest extends AbstractCommandTest
10
{
11
    public function testAllCommandIsFound()
12
    {
13
        $this->application->add(new TestAllCommand($this->config));
14
15
        $this->assertCommandIsFound('mongrate:test-all', TestAllCommand::class);
16
    }
17
18
}
19