Exemple #1
0
 function testClearingParameters()
 {
     $url = new SimpleUrl('');
     $url->addRequestParameter('a', 'A');
     $url->clearRequest();
     $this->assertIdentical($url->getEncodedRequest(), '');
 }
Exemple #2
0
 function testClearingParameters()
 {
     $url = new SimpleUrl('');
     $url->addRequestParameter('a', 'A');
     $url->clearRequest();
     $request = $url->getRequest();
     $this->assertIdentical($request, array());
 }