/** * The assumption in these tests is that a PROPFIND is going on, and to * fetch the sync-token, the event handler is just able to use the existing * result. * * @dataProvider data */ function testAlreadyThere1($name, $value) { $propFind = new PropFind('foo', ['{http://calendarserver.org/ns/}getctag', $name]); $propFind->set($name, $value); $corePlugin = new CorePlugin(); $corePlugin->propFindLate($propFind, new SimpleCollection('hi')); $this->assertEquals("hello", $propFind->get('{http://calendarserver.org/ns/}getctag')); }