/** * testing setter of string * * @return void */ public function testSetString() { $this->object->setString('test&<>', false); $this->assertEquals('test&<>', $this->object->getString()); $this->object->setString('test&<>', true); $this->assertEquals('test&<>', $this->object->getString()); }