public function testGetParam() { $p = array('hello' => "ciao"); $this->object->setParams($p); $this->assertEquals("ciao", $this->object->getParam('hello')); $this->assertFalse($this->object->getParam("missing-key")); }