Example #1
0
 /**
  * Test the custom attribute setters and getters
  */
 public function testSetCustomAttributes()
 {
     $this->class->setAllowedAttrs(new TestAllowedAttributes());
     $attributes = $this->class->getAllowedAttrs();
     $this->assertInternalType('array', $attributes);
     $this->assertEquals(TestAllowedAttributes::getAttributes(), $attributes);
 }