Ejemplo n.º 1
0
 /** @test */
 function it_can_disable_a_bank_account()
 {
     $customer = $this->api->createCustomer($this->get_basic_customer());
     $account = $this->get_customer_bank_account($customer);
     $account = $this->api->createCustomerBankAccount($account);
     $account = $this->api->disableCustomerBankAccount($account->getId());
     $this->assertFalse($account->isEnabled());
     $this->assertTrue($account->isDisabled());
 }