def METHOD_NAME(self):
    """Verify method raises exception when json is not a dict."""
    with pytest.raises(exceptions.UnprocessableResponseBody):
        self.instance._instance_or_null(GitHubCore, [])