function testDelete()
  {
    $this->db->sqlInsert('sys_behaviour', array('id' => $id = 100));

    $behaviour = new SiteObjectBehaviour();
    $behaviour->setId($id);

    $this->mapper->delete($behaviour);

    $this->db->sqlSelect('sys_behaviour', '*', 'id=' . $behaviour->getId());

    $this->assertTrue(!$this->db->fetchRow());
  }
 function testGetBehaviourNameByIdFailed()
 {
   try
   {
     SiteObjectBehaviour :: findBehaviourNameById(100);
     $this->assertTrue(false);
   }
   catch(LimbException $e)
   {
     $this->assertTrue(true);
   }
 }