Passed
Push — master ( 3c0ece...f29cb0 )
by Dzmitry
05:09 queued 02:33
created

ExecutionResultTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetOutputOnEmptyOutput() 0 6 1
1
<?php
2
namespace ivol\tests;
3
4
use ivol\ExecutionResult;
5
6
class ExecutionResultTest extends \PHPUnit_Framework_TestCase
7
{
8
    public function testGetOutputOnEmptyOutput()
9
    {
10
        $sut = new ExecutionResult(0, array());
11
12
        $this->assertEquals('', $sut->getOutput());
13
    }
14
}