Passed
Push — master ( a32b7c...9671df )
by Andy
02:16
created

NumberFormatterTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testFormatterReturnsNumber() 0 8 1
1
<?php
2
3
namespace Palmtree\Csv\Test\Formatter;
4
5
use Palmtree\Csv\Formatter\NumberFormatter;
6
use PHPUnit\Framework\TestCase;
7
8
class NumberFormatterTest extends TestCase
9
{
10
    public function testFormatterReturnsNumber()
11
    {
12
        $formatter = new NumberFormatter();
13
14
        $value = $formatter->format('0123');
15
16
        $this->assertSame(123, $value);
17
    }
18
}
19