/**
  * @expectedException \Sabre\DAV\Exception\InvalidResourceType
  */
 public function testNoSubscriptionSupport()
 {
     $principal = ['uri' => 'principals/user1'];
     $backend = new Backend\Mock([], []);
     $uC = new CalendarHome($backend, $principal);
     $rt = ['{DAV:}collection', '{http://calendarserver.org/ns/}subscribed'];
     $props = ['{DAV:}displayname' => 'baz', '{http://calendarserver.org/ns/}source' => new \Sabre\DAV\Property\Href('http://example.org/test2.ics')];
     $uC->createExtendedCollection('sub2', $rt, $props);
 }