public static function setInputstring($inputstring)
 {
     self::$inputstring = $inputstring;
 }
    public function testHandleProps()
    {
        $_SERVER['REQUEST_URI'] = '/some_collection/';
        DAV_Test_Request_PROPFIND::setInputstring(<<<EOS
<?xml version="1.0" encoding="utf-8" ?>
<propfind xmlns="DAV:">
  <prop xmlns:ns1="http://ns.example.com/tests/">
    <ns1:prop1/>
    <ns1:prop2/>
    <ns1:test3/>
    <ns1:tests4/>
  </prop>
</propfind>
EOS
);
        $obj = DAV_Test_Request_PROPFIND::inst();
        DAV::$REGISTRY->setResourceClass('DAVACL_Test_Resource');
        $expectedOutput = <<<EOS
Content-Type: application/xml; charset="utf-8"
HTTP/1.1 207 Multi-Status
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response><D:href>/some_collection/</D:href>
<D:propstat><D:prop>
<ns:prop1 xmlns:ns="http://ns.example.com/tests/"/>
<ns:prop2 xmlns:ns="http://ns.example.com/tests/"/>
<ns:test3 xmlns:ns="http://ns.example.com/tests/"/>
<ns:tests4 xmlns:ns="http://ns.example.com/tests/"/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
</D:multistatus>
EOS;
        $this->expectOutputString($expectedOutput);
        $obj->handleRequest();
    }