Add missing test case

This commit is contained in:
Sebastian Bergmann 2015-01-24 10:43:29 +01:00
parent bdc886f84e
commit 4e1dcac9ea
1 changed files with 5 additions and 0 deletions

View File

@ -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);