function testNullValueReplacementForGuidValue() { if ($this->hasSupportFor('last_insert_id')) { $category = new Category(); $category->setName("Totoasdasd"); $category->setGuidString('00000000-0000-0000-0000-000000000000'); $key = $this->sqlmap->insert("InsertCategoryNull", $category); $categoryRead = $this->sqlmap->queryForObject("GetCategory", $key); $this->assertSame($category->getName(), $categoryRead->getName()); $this->assertSame('', $categoryRead->getGuidString()); } }