Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function testGet() |
||
25 | { |
||
26 | $actual = $this->sut->get('simple.xlsx'); |
||
27 | |||
28 | $objReader = new \PHPExcel_Reader_Excel2007(); |
||
29 | $expected = $objReader->load('tests/metadata/template/simple.xlsx'); |
||
30 | |||
31 | $this->assertEquals($expected->getActiveSheet()->toArray(), $actual->getActiveSheet()->toArray()); |
||
32 | } |
||
33 | |||
46 |
If you suppress an error, we recommend checking for the error condition explicitly: