def METHOD_NAME(self):
    input_string = "(;a[b])"
    with self.assertRaises(ValueError) as err:
        parse(input_string)
    self.assertEqual(type(err.exception), ValueError)
    self.assertEqual(err.exception.args[0], "property must be in uppercase")