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
/
.wp-cli
/
wp-content
/
plugins
/
svg-support
/
vendor
/
enshrined
/
svg-sanitize
/
tests
:
AllowedTagsTest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace enshrined\svgSanitize\Tests; use enshrined\svgSanitize\data\AllowedTags; use PHPUnit\Framework\TestCase; /** * Class AllowedTagsTest */ class AllowedTagsTest extends TestCase { /** * Test that the class implements the interface */ public function testItImplementsTheInterface() { $class = new AllowedTags(); self::assertInstanceOf('enshrined\svgSanitize\data\TagInterface', $class); } /** * Test that an array is returned */ public function testThatItReturnsAnArray() { $result = AllowedTags::getTags(); self::assertSame('array', gettype($result)); } }