public function testUpdateBimItem() { $sobim = new sobimitem_impl($this->db); $bimItem = $sobim->getBimItem($this->projectGuid); $xml = new SimpleXMLElement($bimItem->getXml()); $xml->attributes->name = $this->newProjectName; $bimItem->setXml($xml->asXML()); $this->assertTrue($sobim->updateBimItem($bimItem)); }