Exemplo n.º 1
0
Arquivo: parse.php Projeto: cmsx/url
 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(), 'Параметры переданные кучей');
 }