Ejemplo n.º 1
0
 public function twoParameters()
 {
     $fixture = new RestRequest('/issues');
     $fixture->addParameter('filter', 'assigned');
     $fixture->addParameter('state', 'open');
     $this->assertEquals(array('filter' => 'assigned', 'state' => 'open'), $fixture->getParameters());
 }