Google\Cloud\Tests\Speech\SpeechClientTest::testGetsOperation PHP Method

testGetsOperation() public method

public testGetsOperation ( )
    public function testGetsOperation()
    {
        $operationName = 'test';
        $operation = $this->client->operation($operationName);
        $this->assertInstanceOf(Operation::class, $operation);
        $this->assertEquals($operationName, $operation->name());
    }