public function testComplexTypes() { $doc = new Document(); $this->assertFalse($doc->invokeMethod('_isComplexType', array(null))); $this->assertFalse($doc->invokeMethod('_isComplexType', array(''))); $this->assertFalse($doc->invokeMethod('_isComplexType', array(array()))); $this->assertFalse($doc->invokeMethod('_isComplexType', array(new stdClass()))); }