JSO = new JSObject(array( 'foo' => 54, 'bar' => 'baz', )); } function tearDown() { unset($this->JSO); } function testToStringDevel() { // __toString produces same output as print_r by default $this->assertIdentical($this->JSO->__toString(), '
'.print_r($this->JSO, TRUE).''); } }