コード例 #1
0
 public function testTargetPathAndParams()
 {
     return false;
     $this->insertFixtures();
     $lang = 1;
     $url = new Url('http://example.com/testpage1/testpage1_child/?foo=test');
     $resolver = new Resolver($url, $lang, self::$em, '', $this->mockFallbackLanguages);
     $resolver->resolve();
     $this->assertEquals('testpage1/testpage1_child/', $url->getTargetPath());
     $this->assertEquals('?foo=test', $url->getParams());
     $this->assertEquals(true, $url->isRouted());
 }