protected function setUp() { $this->object = new Video2Animation(new DriversContainer(), $this->getFsManager()); $this->specs = new Animation(); $this->specs->setDimensions(130, 110); $this->specs->setResizeMode(Animation::RESIZE_MODE_OUTBOUND); $this->source = $this->getMediaVorus()->guess(__DIR__ . '/../../../files/Test.ogv'); $this->dest = __DIR__ . '/../../../files/output_.gif'; }
/** * @covers MediaAlchemyst\Specification\Animation::setDelay * @covers MediaAlchemyst\Specification\Animation::getDelay */ public function testSetDelay() { $this->object->setDelay(800); $this->assertEquals(800, $this->object->getDelay()); }