public function testDeleteAccount() { $account = $this->createAccount(); $this->client->deleteAccount($account); }
public function testDeleteAccount() { $account = Account::reference('ACCOUNT_ID'); $this->http->expects($this->once())->method('delete')->with('/v2/accounts/ACCOUNT_ID', ['foo' => 'bar']); $this->client->deleteAccount($account, ['foo' => 'bar']); }