/**
  * Create new records that can be cleaned up from the database upon exit.
  *
  * @param int     $smsg_id
  * @param string  $smsg_value
  * @return new Doctrine_Record
  */
 public static function make_new($smsg_id, $smsg_value)
 {
     self::$UUIDS = array($smsg_id);
     $t = new TestSystemMessage();
     $t->save();
     $t->smsg_value = $smsg_value;
     $t->save();
     return $t;
 }
 /**
  *
  */
 function exception()
 {
     $sysmsg = TestSystemMessage::make_new(123456, 'Something is wrong.');
     throw new AIR2_Exception($sysmsg->smsg_id);
 }