Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
svg-support
/
vendor
/
enshrined
/
svg-sanitize
/
tests
:
AllowedAttributesTest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace enshrined\svgSanitize\Tests; use enshrined\svgSanitize\data\AllowedAttributes; use PHPUnit\Framework\TestCase; /** * Class AllowedAttributesTest */ class AllowedAttributesTest extends TestCase { /** * Test that the class implements the interface */ public function testItImplementsTheInterface() { $class = new AllowedAttributes(); self::assertInstanceOf('enshrined\svgSanitize\data\AttributeInterface', $class); } /** * Test that an array is returned */ public function testThatItReturnsAnArray() { $result = AllowedAttributes::getAttributes(); self::assertSame('array', gettype($result)); } }