Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/vendor/enshrined/svg-sanitize/tests/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/vendor/enshrined/svg-sanitize/tests/AllowedAttributesTest.php |
<?php
use \enshrined\svgSanitize\data\AllowedAttributes;
use PHPUnit\Framework\TestCase;
/**
* Class AllowedAttributesTest
*/
class AllowedAttributesTest extends TestCase
{
/**
* @var AllowedAttributes
*/
protected $class;
/**
* Set up the test class
*/
public function setUp()
{
$this->class = new AllowedAttributes();
}
/**
* Test that the class implements the interface
*/
public function testItImplementsTheInterface()
{
$this->assertInstanceOf('enshrined\svgSanitize\data\AttributeInterface', $this->class);
}
/**
* Test that an array is returned
*/
public function testThatItReturnsAnArray()
{
$result = AllowedAttributes::getAttributes();
$this->assertInternalType('array', $result);
}
}