partial void FromToken_PreCondition(JsonChangeSetChanges instance, ref JToken json) { var jObject = new JObject(); jObject.Add(new JProperty("changeType", "The Change Type")); json = jObject; }
internal static JsonChangeSetChanges GetInstance([CallerMemberName] string callerName = "") { JToken json = new JObject(); JsonSource(ref json); JsonChangeSetChanges instance = JsonChangeSetChanges.FromToken(json); InstanceFactory(ref instance, callerName); return(instance); }
public void FromToken_UnitTest() { JToken token = default(JToken); JsonChangeSetChanges _retVal = default(JsonChangeSetChanges); ExecuteMethod( () => { return(GetInstance()); }, instance => { token = default(JToken); //No Constructor FromToken_PreCondition(instance, ref token); }, instance => { return(_retVal = JsonChangeSetChanges.FromToken(token)); }, instance => { FromToken_PostValidate(instance, token, _retVal); }); }
public void ChangeType_UnitTest() { ExecuteProperty( () => // Create Test Instance { JsonChangeSetChanges instance = GetInstance(); return(instance); }, null, null, null, // No Set Accessor // Invoke Getter instance => { return(instance.ChangeType); }, // Validate Get Operation (instance, setValue, getValue) => { }); }
partial void ToString_PreCondition(JsonChangeSetChanges instance);
partial void ToString_PostValidate(JsonChangeSetChanges instance, String _retVal);
partial void JsonValue_SetCondition(ref JsonChangeSetChanges instance, ref JToken setValue);
static partial void InstanceFactory(ref JsonChangeSetChanges instance, [CallerMemberName] string callerName = "");
partial void GetType_PreCondition(JsonChangeSetChanges instance);
partial void Equals_PostValidate(JsonChangeSetChanges instance, Object obj, Boolean _retVal);
partial void CaptureJson_PreCondition(JsonChangeSetChanges instance, ref JToken token);
partial void GetHashCode_PreCondition(JsonChangeSetChanges instance);
partial void GetHashCode_PostValidate(JsonChangeSetChanges instance, Int32 _retVal);
partial void FromToken_PreCondition(JsonChangeSetChanges instance, ref JToken token);
partial void FromToken_PostValidate(JsonChangeSetChanges instance, JToken token, JsonChangeSetChanges _retVal);
partial void Equals_PreCondition(JsonChangeSetChanges instance, ref Object obj);
partial void GetType_PostValidate(JsonChangeSetChanges instance, Type _retVal);
partial void CaptureJson_PostValidate(JsonChangeSetChanges instance, JToken token);
partial void ChangeType_SetCondition(ref JsonChangeSetChanges instance, ref String setValue);