"""Unit tests for the mng-pair plugin registration."""

from collections.abc import Sequence

import click

from imbue.mng_pair.plugin import register_cli_commands


def test_register_cli_commands_returns_pair_command() -> None:
    """Verify that register_cli_commands returns the pair command."""
    result = register_cli_commands()

    assert result is not None
    assert isinstance(result, Sequence)
    assert len(result) == 1
    assert isinstance(result[0], click.Command)
    assert result[0].name == "pair"
