Beispiel #1
0
 public function testGetUrl()
 {
     $this->context->expects($this->once())->method('getBaseUrl')->will($this->returnValue('http://example.com/'));
     $this->context->expects($this->once())->method('getPath')->will($this->returnValue('static'));
     $this->assertEquals('http://example.com/static/Magento_Module/dir/file.css', $this->object->getUrl());
 }