Completed
Push — develop ( 682b1b...fe73b2 )
by Adrien
20:00
created

DataTypeTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetErrorCodes() 0 7 1
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheetTests\Cell;
4
5
use PhpOffice\PhpSpreadsheet\Cell\DataType;
6
7
class DataTypeTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function testGetErrorCodes()
10
    {
11
        $result = DataType::getErrorCodes();
12
        $this->assertInternalType('array', $result);
13
        $this->assertGreaterThan(0, count($result));
14
        $this->assertArrayHasKey('#NULL!', $result);
15
    }
16
}
17