/** * Test * * @return void */ public function testGetParam() { ob_start(); $this->object->__invoke('script-identifier', array('key' => 'value')); $data = ob_get_clean(); $this->assertEquals('value', $this->object->getParam('key')); $this->assertNull($this->object->getParam('fake-key')); }