def METHOD_NAME(
    emitter,
    fake_store_notify_upload,
    fake_store_verify_upload,
    snap_file,
    command_class,
):
    cmd = command_class(None)
    cmd.run(
        argparse.Namespace(
            snap_file=snap_file,
            channels=None,
        )
    )
    assert fake_store_verify_upload.mock_calls == [call(ANY, snap_name="basic")]
    assert fake_store_notify_upload.mock_calls == [
        call(
            ANY,
            snap_name="basic",
            upload_id="2ecbfac1-3448-4e7d-85a4-7919b999f120",
            built_at=None,
            channels=None,
            snap_file_size=4096,
        )
    ]
    emitter.assert_message("Revision 10 created for 'basic'")