diff --git a/tests/ExporterTest.php b/tests/ExporterTest.php index 7b1ee09..ac24d81 100644 --- a/tests/ExporterTest.php +++ b/tests/ExporterTest.php @@ -318,6 +318,11 @@ EOF; ); } + public function testNonObjectCanBeReturnedAsArray() + { + $this->assertEquals(array(true), $this->exporter->toArray(true)); + } + private function trimNewline($string) { return preg_replace('/[ ]*\n/', "\n", $string);