public function testgetErrorMessages() { $set1 = array('aaa', 'bbb', 'ccc'); $this->form->addErrorMessages($set1); $this->assertIdentical($set1, $this->form->getErrorMessages()); }