public function testApiMalformed() { $this->setExpectedException('SpotifyWebAPI\\SpotifyWebAPIException'); $response = $this->request->api('GET', '/v1/albums/NON_EXISTING_ALBUM'); }