Google\Cloud\Tests\ClientTraitTest::testGetConnectionType PHP Méthode

testGetConnectionType() public méthode

public testGetConnectionType ( $dependencyStatus, $config, $expectedConnectionType )
    public function testGetConnectionType($dependencyStatus, $config, $expectedConnectionType)
    {
        $trait = new ClientTraitStubGrpcDependencyChecks($dependencyStatus);
        $actualConnectionType = $trait->runGetConnectionType($config);
        $this->assertEquals($expectedConnectionType, $actualConnectionType);
    }