10 $pf->handle(
'{DAV:}displayname',
'foo');
12 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
13 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
21 $pf->handle(
'{DAV:}displayname',
function() {
return 'foo'; });
23 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
24 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
31 $pf->set(
'{DAV:}displayname',
'foo');
33 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
34 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
41 $pf->set(
'{DAV:}displayname', null);
43 $this->assertEquals(404, $pf->getStatus(
'{DAV:}displayname'));
44 $this->assertEquals(null, $pf->get(
'{DAV:}displayname'));
51 $pf->set(
'{DAV:}displayname', null);
53 [
'{DAV:}displayname'],
54 $pf->get404Properties()
62 $pf->set(
'{DAV:}displayname',
'foo');
64 [
'{http://sabredav.org/ns}idk'],
65 $pf->get404Properties()
This class is used by the browser plugin to trick the system in returning every defined property...
testGet404PropertiesNothing()