public function testErrorDisplay() { $e = new Element('text', 'email'); $e->setErrorDisplay('h3', array('class' => 'error-class'), true); }