Exemple #1
0
 public function test_get_and_set_accept()
 {
     $request = new HttpRequest();
     $this->assertEquals(null, $request->getAccept());
     $request->setAccept('text/html');
     $this->assertEquals('text/html', $request->getAccept());
 }