Exemplo n.º 1
0
 public function testRequestMethodGet()
 {
     $request = new Request();
     $request->setMethod(RequestMethod::GET);
     $this->assertTrue($request->isGet());
     $this->assertFalse($request->isPatch());
 }