public function testGetEscaped() { $this->view->someVar = '&'; $this->assertEquals('&', $this->view->getEscaped('someVar')); $this->assertEquals('', $this->view->getEscaped('someNonExistingVar')); }