def METHOD_NAME(emitter, fake_confirmation_prompt, fake_store_register):
    fake_confirmation_prompt.return_value = True
    cmd = commands.StoreRegisterCommand(None)
    cmd.run(
        argparse.Namespace(
            store_id=None, private=False, yes=False, **{"snap-name": "test-snap"}
        )
    )
    assert fake_store_register.mock_calls == [
        call(ANY, "test-snap", is_private=False, store_id=None)
    ]
    emitter.assert_message("Registered 'test-snap'")
    assert fake_confirmation_prompt.mock_calls == [
        call(
            dedent(
                """\
        We always want to ensure that users get the software they expect
        for a particular name.
        If needed, we will rename snaps to ensure that a particular name
        reflects the software most widely expected by our community.
        For example, most people would expect 'thunderbird' to be published by
        Mozilla. They would also expect to be able to get other snaps of
        Thunderbird as '$username-thunderbird'.
        Would you say that MOST users will expect 'test-snap' to come from
        you, and be the software you intend to publish there?"""
            )
        )
    ]