def test_get_content_calls_request_uri_with_correct_arguments(
            self, mock_request):
        file = File(Mock(), {"file_id": "fake_file_id"})

        file.get_content()

        mock_request.assert_called_with("content", headers={})
    def test_get_content_calls_request_uri_with_correct_arguments_when_download_link_is_True(
            self, mock_request):
        file = File(Mock(), {"file_id": "fake_file_id"})

        file.get_content(download_link=True)

        mock_request.assert_called_with("content",
                                        headers={"Accept": "text/uri-list"})
    def test_get_content_calls_request_uri_with_correct_arguments_when_download_link_is_True(self, mock_request):
        file = File(Mock(), {"file_id": "fake_file_id"})

        file.get_content(download_link=True)

        mock_request.assert_called_with("content", headers={"Accept": "text/uri-list"})
    def test_get_content_calls_request_uri_with_correct_arguments(self, mock_request):
        file = File(Mock(), {"file_id": "fake_file_id"})

        file.get_content()

        mock_request.assert_called_with("content", headers={})