public function testContains() { $request = new THttpRequest(); $request->init(null); // Simulate a request with just a service $_GET['page'] = 'Home'; $request->resolveRequest(array('page')); self::assertTrue($request->contains('page')); self::assertFalse($request->contains('param')); }