PHP Class Bitpay\Client\ClientTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: bitpay/php-client

Protected Properties

Свойство Type Description
$client

Méthodes publiques

Méthode Description
setUp ( )
testCheckPriceAndCurrency ( )
testCheckPriceAndCurrencyWithException ( )
testCreateInvoice ( )
testCreateInvoiceWithError ( )
testCreateInvoiceWithTooMuchPrecisionEvenForBitcoin ( )
testCreateInvoiceWithTooMuchPrecisionForAnythingButBitcoin ( )
testCreatePayout ( )
testCreatePayoutWithException ( )
testCreateResponseWithException ( )
testCreateToken ( )
testCreateTokenWithException ( )
testDeletePayout ( )
testDeletePayoutWithException ( )
testGetCurrencies ( )
testGetCurrenciesWithException ( )
testGetInvoice ( )
testGetInvoiceException ( )
testGetPayout ( )
testGetPayoutException ( )
testGetPayouts ( )
testGetPayoutsWithException ( )
testGetRequest ( )
testGetResponse ( )
testGetTokens ( )
testGetTokensWithException ( )

Private Methods

Méthode Description
getMockAdapter ( )
getMockBuyer ( )
getMockCurrency ( )
getMockInvoice ( )
getMockItem ( )
getMockPayout ( )
getMockPrivateKey ( )
getMockPublicKey ( )
getMockResponse ( )
getMockToken ( )

Method Details

setUp() public méthode

public setUp ( )

testCheckPriceAndCurrency() public méthode

testCheckPriceAndCurrencyWithException() public méthode

testCreateInvoice() public méthode

public testCreateInvoice ( )

testCreateInvoiceWithError() public méthode

testCreateInvoiceWithTooMuchPrecisionEvenForBitcoin() public méthode

testCreateInvoiceWithTooMuchPrecisionForAnythingButBitcoin() public méthode

testCreatePayout() public méthode

public testCreatePayout ( )

testCreatePayoutWithException() public méthode

testCreateResponseWithException() public méthode

testCreateToken() public méthode

public testCreateToken ( )

testCreateTokenWithException() public méthode

testDeletePayout() public méthode

public testDeletePayout ( )

testDeletePayoutWithException() public méthode

testGetCurrencies() public méthode

public testGetCurrencies ( )

testGetCurrenciesWithException() public méthode

testGetInvoice() public méthode

public testGetInvoice ( )

testGetInvoiceException() public méthode

testGetPayout() public méthode

public testGetPayout ( )

testGetPayoutException() public méthode

testGetPayouts() public méthode

public testGetPayouts ( )

testGetPayoutsWithException() public méthode

testGetRequest() public méthode

public testGetRequest ( )

testGetResponse() public méthode

public testGetResponse ( )

testGetTokens() public méthode

public testGetTokens ( )

testGetTokensWithException() public méthode

Property Details

$client protected_oe property

protected $client