PHP Class Bitpay\Client\ClientTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: bitpay/php-client

Protected Properties

Property Type Description
$client

Public Methods

Method 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

Method Description
getMockAdapter ( )
getMockBuyer ( )
getMockCurrency ( )
getMockInvoice ( )
getMockItem ( )
getMockPayout ( )
getMockPrivateKey ( )
getMockPublicKey ( )
getMockResponse ( )
getMockToken ( )

Method Details

setUp() public method

public setUp ( )

testCheckPriceAndCurrency() public method

testCheckPriceAndCurrencyWithException() public method

testCreateInvoice() public method

public testCreateInvoice ( )

testCreateInvoiceWithError() public method

testCreateInvoiceWithTooMuchPrecisionEvenForBitcoin() public method

testCreateInvoiceWithTooMuchPrecisionForAnythingButBitcoin() public method

testCreatePayout() public method

public testCreatePayout ( )

testCreatePayoutWithException() public method

testCreateResponseWithException() public method

testCreateToken() public method

public testCreateToken ( )

testCreateTokenWithException() public method

testDeletePayout() public method

public testDeletePayout ( )

testDeletePayoutWithException() public method

testGetCurrencies() public method

public testGetCurrencies ( )

testGetCurrenciesWithException() public method

testGetInvoice() public method

public testGetInvoice ( )

testGetInvoiceException() public method

testGetPayout() public method

public testGetPayout ( )

testGetPayoutException() public method

testGetPayouts() public method

public testGetPayouts ( )

testGetPayoutsWithException() public method

testGetRequest() public method

public testGetRequest ( )

testGetResponse() public method

public testGetResponse ( )

testGetTokens() public method

public testGetTokens ( )

testGetTokensWithException() public method

Property Details

$client protected property

protected $client