public function testGetAcceptCharset() { // via getter - returns default value utf-8 as string $this->assertEqual('utf-8', $this->form->getAcceptCharset()); $this->form->setAcceptCharset('iso-8859-1'); // via getter - returns string $this->assertEqual('iso-8859-1', $this->form->getAcceptCharset()); }