public function testAttributes() { $this->filePDF->setAttribute('rel', 'bauffman.jpg'); $this->assertEquals('bauffman.jpg', $this->filePDF->getAttribute('rel')); $this->filePDF->setAttributes(array('id' => 'specialID')); $this->assertEquals(array('id' => 'specialID', 'name' => 'pdf', 'class' => 'inputFilefield', 'rel' => 'bauffman.jpg'), $this->filePDF->getAttributes()); }