def METHOD_NAME(sample, parser, parser_id, msg_seq, msg_type):
    marshal = MarshalRtnl()
    marshal.msg_map = {}
    marshal.seq_map = {msg_seq: parser}
    messages, data = load_sample(sample)
    for msg in marshal.parse(data):
        assert msg['parser'] == parser_id
        assert msg['header']['type'] in msg_type