def METHOD_NAME():
    bogus_msgcode = True
    with pytest.raises(Exception) as err:
        assert_results_contain([], PASS, bogus_msgcode)
    assert str(err.value) == "The expected message code must be a string"