Completed
Pull Request — master (#183)
by Danny
11:52
created

ApplicationTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGetConfiguration() 0 6 1
A testGetIssueCollector() 0 6 1
1
<?php
2
3
namespace Tests\PHPSA;
4
5
use PHPSA\Application;
6
7
class ApplicationTest extends TestCase
8
{
9
   /**
10
     * @covers \PHPSA\Application::getConfiguration
11
     */
12
    public function testGetConfiguration()
13
    {
14
        $application = new Application();
15
16
        $this->assertInstanceOf('\PHPSA\Configuration', $application->getConfiguration());
17
    }
18
19
    /**
20
     * @covers \PHPSA\Application::getIssuesCollector
21
     */
22
    public function testGetIssueCollector()
23
    {
24
        $application = new Application();
25
26
        $this->assertInstanceOf('\PHPSA\IssuesCollector', $application->getIssuesCollector());
27
    }
28
}
29