Google\Cloud\Tests\GrpcRequestWrapperTest::testCredentialsFromKeyFileStreamCanBeReadMultipleTimes PHP Method

testCredentialsFromKeyFileStreamCanBeReadMultipleTimes() public method

    public function testCredentialsFromKeyFileStreamCanBeReadMultipleTimes($wrapperConfig)
    {
        $requestWrapper = new GrpcRequestWrapper($wrapperConfig);
        $requestWrapper->getCredentialsFetcher();
        $credentials = $requestWrapper->getCredentialsFetcher();
        $this->assertInstanceOf('Google\\Auth\\FetchAuthTokenInterface', $credentials);
    }