function test_set_path() { $this->uri->set_path('/index.html'); $uri = new uri('http://dot.com/index.html'); $this->assertEqual($uri->get_path_elements(), $this->uri->get_path_elements()); }