def METHOD_NAME(
    runpath, listing_obj, filter_obj, sorter_obj, expected_output
):
    multitest_x = MultiTest(name="Primary", suites=[Beta(), Alpha()])
    multitest_y = MultiTest(name="Secondary", suites=[Gamma()])
    plan = TestplanMock(
        name="plan",
        test_lister=listing_obj,
        test_filter=filter_obj,
        test_sorter=sorter_obj,
        runpath=runpath,
    )
    with captured_logging(TESTPLAN_LOGGER) as log_capture:
        plan.add(multitest_x)
        plan.add(multitest_y)
        assert log_capture.output == expected_output
        result = plan.run()
        assert len(result.test_report) == 0, "No tests should be run."