Пример #1
0
 /**
  * @testdox  Test that addStyleSheetVersion with default params and $this->mediaVersion set returns an instance of $this
  *
  * @covers   JDocument::addStyleSheetVersion
  * @uses     JDocument::addStylesheet
  * @uses     JDocument::getMediaVersion
  * @uses     JDocument::setMediaVersion
  */
 public function testEnsureAddStylesheetVersionWithDefaultParamsAndMediaVersionSetReturnsThisObject()
 {
     $this->object->setMediaVersion('1a2b3c4d');
     $this->assertSame($this->object, $this->object->addStyleSheetVersion('http://www.joomla.org/media/system/css/system.css'));
 }