PHP Class Stevebauman\Translation\Tests\GoogleTranslateApiTest

Inheritance: extends FunctionalTestCase
Datei anzeigen Open project: stevebauman/translation

Protected Properties

Property Type Description
$client Stevebauman\Translation\Contracts\Client
$guzzle GuzzleHttp\ClientInterface

Public Methods

Method Description
setUp ( )
testErrorInResponseThrowsException ( )
testFirstTranslatedResultIsReturned ( )
testNoDataInResponseThrowsException ( )
testTranslateReturnsExpectedText ( )

Method Details

setUp() public method

public setUp ( )

testErrorInResponseThrowsException() public method

testFirstTranslatedResultIsReturned() public method

testNoDataInResponseThrowsException() public method

testTranslateReturnsExpectedText() public method

Property Details

$client protected_oe property

protected Client,Stevebauman\Translation\Contracts $client
return Stevebauman\Translation\Contracts\Client

$guzzle protected_oe property

protected ClientInterface,GuzzleHttp $guzzle
return GuzzleHttp\ClientInterface