loadedFile->get(); $this->assertInstanceOf('Maatwebsite\Excel\Collections\RowCollection', $got); $this->assertCount(6, $got); } // //public function testStringsAppendedPrependedWithZeros() //{ // $got = $this->loadedFile->toArray(); // // $this->assertContains('TEST000', $got[3]); // $this->assertContains('000TEST', $got[4]); //} // // //public function testStringZeros() //{ // $got = $this->loadedFile->toArray(); // // $this->assertContains('000', $got[0]); //} public function testMoney() { $got = $this->loadedFile->toArray(); $this->assertContains((double) 0, $got[1]); } public function testEmptyCellHandling() { $got = $this->loadedFile->toArray(); $this->assertContains(null, $got[2]); } public function testNormalZeros() { $got = $this->loadedFile->toArray(); $this->assertContains((double) 0, $got[5]); } }