ParseTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testParseReturnsArrayOnEmptySource() 0 4 1
1
<?php
2
3
namespace Kingsquare\Parser\Banking;
4
5
/**
6
 *
7
 */
8
class ParseTest extends \PHPUnit_Framework_TestCase
9
{
10
    /**
11
     *
12
     */
13
    public function testParseReturnsArrayOnEmptySource()
14
    {
15
        $parser = new Mt940();
16
        $this->assertEquals([], $parser->parse(''));
17
    }
18
}
19