Example #1
0
 /**
  * @expectedException \LogicException
  * @expectedExceptionMessage Unable to resolve the source file for 'context/Magento_Module/dir/file.css'
  */
 public function testGetSourceFileMissing()
 {
     $this->context->expects($this->once())->method('getPath')->will($this->returnValue('context'));
     $this->source->expects($this->once())->method('getFile')->will($this->returnValue(false));
     $this->object->getSourceFile();
 }