public function testReturnsYourValue() { $d = $this->data; $d['static'] = null; $p = new ApiParam($d); $this->assertEquals('foo', $p->getValue('foo')); }