Exemplo n.º 1
0
 /**
  * @dataProvider emptyFilenameProvider
  */
 public function testResolveUriWithEmptyFile($filename)
 {
     $this->mapping->expects($this->once())->method('getFileName')->will($this->returnValue($filename));
     $this->factory->expects($this->once())->method('fromName')->with($this->object, 'file_mapping')->will($this->returnValue($this->mapping));
     $this->assertNull($this->storage->resolvePath($this->object, 'file_mapping'));
 }