public function testArrayOutput() { $this->pile = new Pile($this->testArray); $array = $this->pile->toArray(); $this->assertTrue(is_array($array)); $this->compareArrayToTest($array); }