public function testUnfollowPlaylist() { $headers = array('Authorization' => 'Bearer ' . $this->accessToken, 'Content-Type' => 'application/json'); $return = array('status' => 200); $stub = $this->setupStub('DELETE', '/v1/users/mcgurk/playlists/0UZ0Ll4HJHR7yvURYbHJe9/followers', array(), $headers, $return); $api = new SpotifyWebAPI\SpotifyWebAPI($stub); $api->setAccessToken($this->accessToken); $response = $api->unFollowPlaylist('mcgurk', '0UZ0Ll4HJHR7yvURYbHJe9'); $this->assertTrue($response); }