public function testAccountMalformed()
{
$clientID = 'INVALID_ID';
$clientSecret = 'INVALID_SECRET';
$payload = base64_encode($clientID . ':' . $clientSecret);
$parameters = ['grant_type' => 'client_credentials'];
$headers = ['Authorization' => 'Basic ' . $payload];
$this->setExpectedException('SpotifyWebAPI\\SpotifyWebAPIException');
$response = $this->request->account('POST', '/api/token', $parameters, $headers);
}