def METHOD_NAME(self):
    """Parse data and check if the MatchContext was not changed."""
    old_stderr = sys.stderr
    output = StringIO()
    sys.stderr = output
    debug_model_element = DebugModelElement(self.id_)
    self.assertEqual(output.getvalue(), "DebugModelElement %s added\n" % self.id_)
    output.seek(0)
    output.truncate(0)
    data = b"some data"
    match_context = DummyMatchContext(data)
    match_element = debug_model_element.get_match_element(self.path, match_context)
    self.assertEqual(
        output.getvalue(), 'DebugModelElement path = "%s", unmatched = "%s"\n' % (match_element.get_path(), repr(
            match_context.match_data)))
    self.compare_match_results(data, match_element, match_context, self.id_, self.path, b"", b"", None)
    output.seek(0)
    output.truncate(0)
    data = b"123 0x2a. [\"abc\"]:"
    match_context = DummyMatchContext(data)
    match_element = debug_model_element.get_match_element(self.path, match_context)
    self.assertEqual(
        output.getvalue(), 'DebugModelElement path = "%s", unmatched = "%s"\n' % (match_element.get_path(), repr(
            match_context.match_data)))
    self.compare_match_results(data, match_element, match_context, self.id_, self.path, b"", b"", None)
    sys.stderr = old_stderr