Example #1
0
 /**
  */
 function testBaseClass()
 {
     $p = new ServerPluginMock();
     $this->assertEquals([], $p->getFeatures());
     $this->assertEquals([], $p->getHTTPMethods(''));
     $this->assertEquals(['name' => 'Sabre\\DAV\\ServerPluginMock', 'description' => null, 'link' => null], $p->getPluginInfo());
 }
Example #2
0
 /**
  * @covers \Sabre\DAV\ServerPlugin
  */
 function testBaseClass()
 {
     $p = new ServerPluginMock();
     $this->assertEquals(array(), $p->getFeatures());
     $this->assertEquals(array(), $p->getHTTPMethods(''));
 }