def METHOD_NAME(sample_param_cases):
    # The regex will match "_X%p=1" as well as "_X%p=10"
    assert 3 == count_checks(filters.have_any_name(['.*%p=1']),
                             sample_param_cases)
    assert 2 == count_checks(filters.have_any_name(['.*%p=1$']),
                             sample_param_cases)
    assert 1 == count_checks(filters.have_any_name(['_X%p=3']),
                             sample_param_cases)
    assert 1 == count_checks(filters.have_any_name(['_X@2']),
                             sample_param_cases)
    assert 1 == count_checks(filters.have_any_name(['_X@002']),
                             sample_param_cases)
    assert 0 == count_checks(filters.have_any_name(['_X@12']),
                             sample_param_cases)
    # The /0951c7ff selects two tests as they both have x=1
    assert 3 == count_checks(filters.have_any_name(['/0951c7ff', '/37e9e1c6']),
                             sample_param_cases)
    assert 2 == count_checks(filters.have_any_name(['_X@0', '_X@1']),
                             sample_param_cases)
    assert 12 == count_checks(filters.have_any_name(['_X@0', '_X.*']),
                              sample_param_cases)