PHP Class Google\Cloud\Tests\GrpcRequestWrapperTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php

Public Methods

Method Description
credentialsProvider ( )
exceptionProvider ( )
keyFileCredentialsProvider ( )
responseProvider ( )
setUp ( )
testCastsToProperException ( $code, $expectedException )
testCredentialsFetcher ( $wrapperConfig )
testCredentialsFromKeyFileStreamCanBeReadMultipleTimes ( $wrapperConfig )
testSuccessfullySendsRequest ( $response, $expectedMessage )
testThrowsExceptionWhenRequestFails ( )
testThrowsExceptionWithInvalidCredentialsFetcher ( )

Method Details

credentialsProvider() public method

public credentialsProvider ( )

exceptionProvider() public method

public exceptionProvider ( )

keyFileCredentialsProvider() public method

responseProvider() public method

public responseProvider ( )

setUp() public method

public setUp ( )

testCastsToProperException() public method

public testCastsToProperException ( $code, $expectedException )

testCredentialsFetcher() public method

public testCredentialsFetcher ( $wrapperConfig )

testCredentialsFromKeyFileStreamCanBeReadMultipleTimes() public method

testSuccessfullySendsRequest() public method

public testSuccessfullySendsRequest ( $response, $expectedMessage )

testThrowsExceptionWhenRequestFails() public method

testThrowsExceptionWithInvalidCredentialsFetcher() public method