ReplicatorCliTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testNewApplicationReturnsApplication() 0 8 1
1
<?php
2
3
namespace Tests\Queryr\Replicator\Cli;
4
5
use PHPUnit\Framework\TestCase;
6
use Queryr\Replicator\Cli\ReplicatorCli;
7
use Symfony\Component\Console\Application;
8
9
/**
10
 * @covers \Queryr\Replicator\Cli\ReplicatorCli
11
 *
12
 * @licence GNU GPL v2+
13
 * @author Jeroen De Dauw < [email protected] >
14
 */
15
class ReplicatorCliTest extends TestCase {
16
17
	public function testNewApplicationReturnsApplication() {
18
		$replicator = new ReplicatorCli();
19
20
		$this->assertInstanceOf(
21
			Application::class,
22
			$replicator->newApplication()
23
		);
24
	}
25
26
}