/** * @expectedException Http\MissingRequestMetaVariableException */ public function testGetMethodException() { $request = new HttpRequest([], [], [], [], []); $request->getMethod(); }