Example #1
0
 function test_cleaning_up_params_should_remove_empty_string_params()
 {
     $params = array('foo', '', 'bar');
     $expected = array('foo', 'bar');
     $this->assertEquals($expected, Router::cleanUpParams($params));
 }