getPath() публичный Метод

public getPath ( )
Пример #1
0
 /**
  * @test
  */
 public function shouldReturnRequestUriIfRedirectUrlNotExist()
 {
     // given
     $provider = new PathProvider();
     $_SERVER['REQUEST_URI'] = '/request/uri';
     // when
     $path = $provider->getPath();
     // then
     $this->assertEquals('/request/uri', $path);
 }