def METHOD_NAME(self):
    value = make_abstract_value_cc_type_unregistered()
    self.assertIsInstance(value, AbstractValue)
    with self.assertRaises(RuntimeError) as cm:
        value.get_value()
    self.assertTrue(all(
        s in str(cm.exception) for s in [
            "AbstractValue",
            "UnregisteredType",
            "get_value",
            "AddValueInstantiation",
        ]), cm.exception)