def METHOD_NAME(client, acq_full_structure_a, org_martigny, script_info):
    """Test rollover script using the CLI command."""
    origin_budget = acq_full_structure_a
    runner = CliRunner()
    with runner.isolated_filesystem():
        os.mkdir('logs')
        # Missing destination budget argument
        res = runner.invoke(rollover, [origin_budget.pid])
        assert res != 0
        # Missing parameters to create destination budget
        res = runner.invoke(rollover, [origin_budget.pid, '-n'])
        assert res != 0
        result = runner.invoke(
            rollover, [
                origin_budget.pid,
                '--new-budget',
                '--budget-name', 'Budget destination',
                '--budget-start-date', '2022-01-01',
                '--budget-end-date', '2022-12-31'
            ], obj=script_info
        )
        assert result.exit_code == 0  # all works fine !