search(); $this->assertCount(1, $opAddrs); $this->assertEquals('/products/{id}', $opAddrs[0]->path()); } public function testItFindsMatchingOperationWithParametrizedServer() : void { $spec = <<search(); $this->assertCount(1, $opAddrs); $this->assertEquals('/products/{id}', $opAddrs[0]->path()); } public function testItFindsMatchingOperationForFullUrl() : void { $spec = <<search(); $this->assertCount(1, $opAddrs); $this->assertEquals('/products/{id}', $opAddrs[0]->path()); } public function testItFindsMatchingOperationForMultipleServersWithSamePath() : void { $spec = <<search(); $this->assertCount(1, $opAddrs); $this->assertEquals('/products/{id}', $opAddrs[0]->path()); } }