public static function testCanSetRequestValues() { $request = new Request(); // Init with other data $data = array('section' => 'wut?'); $request->populate($data); self::assertSame('wut?', $request->getValue('section')); // Set it to a new value $request->setValue('section', 'whatever'); self::assertSame('whatever', $request->getValue('section')); }