public function testFetch500()
 {
     $this->setExpectedException('RuntimeException', 'Provider name responded with an HTTP 500: abc');
     $response = $this->_setupResponse();
     $mockBody = $this->mock('tubepress_api_streams_StreamInterface');
     $response->shouldReceive('getStatusCode')->times(3)->andReturn(500);
     $response->shouldReceive('getBody')->once()->andReturn($mockBody);
     $mockBody->shouldReceive('toString')->once()->andReturn('abc');
     $this->_sut->fetchWithCodeGrant($this->_mockProvider, 'the code');
     $this->assertTrue(true);
 }