Exemple #1
0
 function testAddParameters()
 {
     $exp = array('hello' => 'world', 'name' => array('john', 'doe'));
     $u = new URL();
     $u->addParameters(array('hello' => 'world'), array('name' => array('john', 'doe')));
     $this->assertEquals($exp, $u->getParameters(), 'Параметры переданные кучей');
 }