예제 #1
0
파일: UrlTest.php 프로젝트: spryker/Url
 /**
  * @return void
  */
 public function testAddPathAsArray()
 {
     $url = new Url(['path' => '/foo/bar/baz', 'query' => 'x=y', 'fragment' => 'z']);
     $url->addPath(['e', 'f']);
     $this->assertSame('/foo/bar/baz/e/f?x=y#z', $url->build());
 }