public function testYesmailMasterRequiredTargetAttributeNullableInvalid() { $name = 'Required Attribute Name'; $values = array(); $nullable = NULL; $attribute = new YesmailMasterRequiredTargetAttribute($name, $values, $nullable); $this->assertFalse($attribute->is_valid()); }
/** * Return a json_encode able version of the object * * @return object A version of the object that is ready for json_encode * @access public */ public function jsonSerialize() { $ret = parent::jsonSerialize(); $ret->id = $this->id; $ret->logicalConnectorWithNext = $this->logicalConnectorWithNext; $ret->negation = $this->negation; $ret->groupedWith = $this->groupedWith; return $ret; }