public function testStringAllowedValuesAreEnforced() { $object = new DomainObject(array('camelidvariant' => 'squirrel')); $object->save(); }