public function testRotate()
{
$i = new Imagick(__DIR__ . '/../tmp/test.jpg');
$i->setBackgroundColor(new Rgb(255, 0, 0))->rotate(45)->save(__DIR__ . '/../tmp/test2.jpg');
$this->assertGreaterThan(790, $i->getWidth());
unlink(__DIR__ . '/../tmp/test2.jpg');
}