ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
AllowedAttributesTest.php
Go to the documentation of this file.
1 <?php
3 
6 
10 class AllowedAttributesTest extends TestCase
11 {
12 
16  protected $class;
17 
21  public function setUp()
22  {
23  $this->class = new AllowedAttributes();
24  }
25 
29  public function testItImplementsTheInterface()
30  {
31  $this->assertInstanceOf('enshrined\svgSanitize\data\AttributeInterface', $this->class);
32  }
33 
37  public function testThatItReturnsAnArray()
38  {
40 
41  $this->assertInternalType('array', $result);
42  }
43 }
$result
testThatItReturnsAnArray()
Test that an array is returned.
testItImplementsTheInterface()
Test that the class implements the interface.
static getAttributes()
Returns an array of attributes.