/**
  * @expectedException \Jaguar\Exception\CanvasCreationException
  */
 public function testLoadFromFileThrowCanvasCreationExceptionOnUnsupportedType()
 {
     $canvas = new Canvas();
     $canvas->fromFile($this->getFixture('icon.ico'));
 }
 /**
  * Get overlay canvas
  *
  * @param string $file
  *
  * @return \Jaguar\CanvasInterface
  */
 public function getOverlayCanvas($file)
 {
     $canvas = new Canvas();
     $canvas->fromFile(Util::getResourcePath('Preset/' . $file));
     return $canvas;
 }