/**
  * Apply action on the working canvas
  *
  * @param \Jaguar\Action\ActionInterface $action
  *
  * @return \Jaguar\Transformation
  */
 public function apply(ActionInterface $action)
 {
     $action->apply($this->getCanvas());
     return $this;
 }
 /**
  * @dataProvider actionProvider
  *
  * @param \Jaguar\Action\ActionInterface $action
  * @param \Jaguar\Dimension              $dimension
  */
 public function testApply(ActionInterface $action, Dimension $dimension)
 {
     $canvas = $this->getCanvas();
     $this->assertInstanceOf('\\Jaguar\\Action\\ActionInterface', $action->apply($canvas));
     $this->assertTrue($canvas->getDimension()->equals($dimension));
 }
 /**
  * @dataProvider actionProvider
  *
  * @param \Jaguar\Action\ActionInterface $action
  */
 public function testApply(ActionInterface $action)
 {
     $canvas = $this->getCanvas();
     $this->assertInstanceOf('\\Jaguar\\Action\\ActionInterface', $action->apply($canvas));
 }