def METHOD_NAME(m_open, m_isfile):
    iris_cpf_info = IrisCpf(context_wrap(IRIS_CPF))
    broker = {IrisCpf: iris_cpf_info}
    result = iris_working_messages_log(broker)
    assert result.content == FILTERED_MESSAGES.splitlines()
    assert result.relative_path == path.join(path.dirname(__file__), '/intersystems/mgr/messages.log')