public function givenTheRequestHasTheTarget($pathString) { $this->request = $this->request->withTarget(Path::fromString($pathString)); }