Documentation

BBTest extends TestCase
in package

Tags
runTestsInSeparateProcesses
preserveGlobalState

disabled

Table of Contents

Properties

$context  : array<string|int, mixed>
$credentials  : array<string|int, mixed>

Methods

test_autenticar_client_id()  : void
test_autenticarBasicAuthorization()  : void
test_buildBasicAuthorization()  : void
test_getClientId()  : void
test_getClientSecret()  : void
test_getError()  : void
test_getExtratoESaldo()  : void

Properties

$context

private array<string|int, mixed> $context = [ 'agencia' => '1234', 'conta' => '56789', // Chave de acesso obtida no Portal do Desenvolvedor "app_key" => "27b934d4911d1e06ae7553a22835312e", // from table 'certificados', column: pubKey "ssl_crt_blob" => "-----BEGIN CERTIFICATE----- certcertcertcertcert == -----END CERTIFICATE-----", // from table 'certificados', column: priKey "ssl_key_blob" => "-----BEGIN PRIVATE KEY----- privprivprivpriv == -----END PRIVATE KEY-----", ]

$credentials

private array<string|int, mixed> $credentials = [ // call 'buildBasicAuthorization' if you have 'clientId' and 'clientSecret' 'basic_authorization' => 'Basic ZXlKcFpDST==', ]

Methods

test_autenticar_client_id()

public test_autenticar_client_id() : void

test_autenticarBasicAuthorization()

public test_autenticarBasicAuthorization() : void

test_buildBasicAuthorization()

public test_buildBasicAuthorization() : void

test_getClientId()

public test_getClientId() : void

test_getClientSecret()

public test_getClientSecret() : void

test_getError()

public test_getError() : void

test_getExtratoESaldo()

public test_getExtratoESaldo() : void

        
On this page

Search results