def METHOD_NAME(emitter, fake_store_register):
    cmd = commands.StoreRegisterCommand(None)
    cmd.run(
        argparse.Namespace(
            store_id=None, private=False, yes=True, **{"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'")