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