def test_file_upload_api_retrieve(self, mock_file_upload_retrieve):
        """Expect file_upload to use the ID of the account referring
        to it to retrieve itself.
        """
        # Create files
        icon_file = File._get_or_create_from_stripe_object(data=FAKE_FILEUPLOAD_ICON)[0]
        logo_file = File._get_or_create_from_stripe_object(data=FAKE_FILEUPLOAD_LOGO)[0]
        # Create account to associate the files to it
        account = Account._get_or_create_from_stripe_object(data=FAKE_ACCOUNT)[0]

        # Call the API retrieve methods.
        icon_file.api_retrieve()
        logo_file.api_retrieve()

        # Ensure the correct Account ID was used in retrieval
        mock_file_upload_retrieve.assert_has_calls(
            (
                call(
                    id=icon_file.id,
                    api_key=ANY,
                    expand=ANY,
                    stripe_account=account.id,
                    stripe_version=djstripe_settings.STRIPE_API_VERSION,
                ),
                call(
                    id=logo_file.id,
                    api_key=ANY,
                    expand=ANY,
                    stripe_account=account.id,
                    stripe_version=djstripe_settings.STRIPE_API_VERSION,
                ),
            )
        )
Expect file_upload to use the ID of the account referring
        to it to retrieve itself.
        
tests/test_file_upload.py