public function testCreateWithAutogenOption()
 {
     $options = [UuidAttribute::OPTION_DEFAULT_VALUE => 'auto_gen'];
     $uuid_attribute = new UuidAttribute(self::ATTR_NAME, $this->getTypeMock(), $options);
     $this->assertEquals($uuid_attribute->getName(), self::ATTR_NAME);
     $this->assertEquals('auto_gen', $uuid_attribute->getOption(UuidAttribute::OPTION_DEFAULT_VALUE));
     $valueholder = $uuid_attribute->createValueHolder(true);
     $this->assertEquals(1, preg_match(self::REGEX_UUID_V4, $valueholder->getValue()));
 }