'Verify github3.exceptions.UnprocessableResponseBody is raised.'

def test_refs_raises_unprocessable_exception(self):

    cassette_name = self.cassette_name('invalid_refs')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        with pytest.raises(exc.UnprocessableResponseBody):
            list(repository.refs('heads/develop'))
