function testUpdateSiteObjectRecordOk()
  {
    $this->db->sqlInsert('sys_site_object',
                          array('id' => $object_id = 100,
                                'title' => 'old title',
                                'identifier' => 'old identifier',
                                'class_id' => 234));

    $mapper = new SiteObjectMapperTestVersion1($this);

    $site_object = new SiteObject();
    $site_object->setId($object_id);
    $site_object->setIdentifier('test');
    $site_object->setTitle('test');
    $site_object->setLocaleId('fr');
    $site_object->attachBehaviour($this->behaviour);
    $this->behaviour->setReturnValue('getId', 25);

    $this->behaviour_mapper->expectOnce('save', array(new IsAExpectation('MockSiteObjectBehaviour')));

    $mapper->update($site_object);

    $this->_checkSysSiteObjectRecord($site_object);

    $mapper->tally();
  }