def METHOD_NAME(cli_tester, testproject):
    cli_tester.monkeypatch.setattr("pytest.main", cli_tester.mock_subroutines)
    params = ([testproject._path.joinpath("tests").as_posix()], ["pytest-brownie"])
    cli_tester.run_and_test_parameters("test", (params, {}))
    assert cli_tester.mock_subroutines.called is True
    assert cli_tester.mock_subroutines.call_count == 1