def METHOD_NAME(self):
    """Check if an exception is raised, when other classes than MatchContext are used in get_match_element."""
    model_element = VariableByteDataModelElement(self.id_, self.alphabet)
    data = b"abcdefghijklmnopqrstuvwxyz.!?"
    model_element.get_match_element(self.path, DummyMatchContext(data))
    model_element.get_match_element(self.path, MatchContext(data))
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, MatchElement(None, data, None, None))
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, data)
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, data.decode())
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, 123)
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, 123.22)
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, True)
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, None)
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, [])
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, {"key": MatchContext(data)})
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, set())
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, ())
    self.assertRaises(AttributeError, model_element.get_match_element, self.path, model_element)