PATH:
home
/
lab2454c
/
tripvare.com
/
backup
/
vendor
/
cloudinary
/
cloudinary_php
/
tests
/
Unit
/
Transformation
/
Image
<?php /** * This file is part of the Cloudinary PHP package. * * (c) Cloudinary * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cloudinary\Test\Unit\Transformation\Image; use Cloudinary\Transformation\Pad; use Cloudinary\Transformation\ResizeFactory; use PHPUnit\Framework\TestCase; use UnexpectedValueException; /** * Class ResizeFactoryTest */ final class ResizeFactoryTest extends TestCase { public function testResizeFactory() { $pad = ResizeFactory::createResize('pad'); self::assertInstanceOf(Pad::class, $pad); } public function testExceptionResizeFactory() { $this->expectException(UnexpectedValueException::class); $this->expectExceptionMessage('Unsupported resize mode nonexistent'); ResizeFactory::createResize('nonexistent'); } }
[-] ImageRoundCornersTest.php
[edit]
[-] OverUnderlayTest.php
[edit]
[-] QualityTest.php
[edit]
[+]
..
[-] VariableTest.php
[edit]
[-] AnimatedEditTest.php
[edit]
[-] ResizeTest.php
[edit]
[-] QualifierTest.php
[edit]
[-] ResizeFactoryTest.php
[edit]
[-] TextStyleTest.php
[edit]
[-] ImageShapeTest.php
[edit]