public function acceptWithQ()
 {
     $fixture = new RestRequest('/issues');
     $fixture->addAccept('text/xml', '0.5');
     $fixture->addAccept('text/json', '0.8');
     $this->assertEquals(array('Accept' => 'text/xml;q=0.5, text/json;q=0.8'), $fixture->getHeaders());
 }