internal static JsonLinkTypeEnd GetInstance([CallerMemberName] string callerName = "") { var json = new JObject(); JsonSource(ref json); JsonLinkTypeEnd instance = JsonLinkTypeEnd.FromToken(json); InstanceFactory(ref instance, callerName); return(instance); }
public void ImmutableName_UnitTest() { ExecuteProperty( () => // Create Test Instance { JsonLinkTypeEnd instance = GetInstance(); return(instance); }, null, null, null, // No Set Accessor // Invoke Getter instance => { return(instance.ImmutableName); }, // Validate Get Operation (instance, setValue, getValue) => { }); }
public void FromToken_UnitTest() { JObject token = default(JObject); JsonLinkTypeEnd _retVal = default(JsonLinkTypeEnd); ExecuteMethod( () => { return(GetInstance()); }, instance => { token = new JObject(); FromToken_PreCondition(instance, ref token); }, instance => { return(_retVal = JsonLinkTypeEnd.FromToken(token)); }, instance => { FromToken_PostValidate(instance, token, _retVal); }); }
partial void ToString_PreCondition(JsonLinkTypeEnd instance);
partial void ToString_PostValidate(JsonLinkTypeEnd instance, String _retVal);
partial void JsonValue_SetCondition(ref JsonLinkTypeEnd instance, ref JToken setValue);
static partial void InstanceFactory(ref JsonLinkTypeEnd instance, [CallerMemberName] string callerName = "");
partial void ImmutableName_SetCondition(ref JsonLinkTypeEnd instance, ref String setValue);
partial void GetType_PreCondition(JsonLinkTypeEnd instance);
partial void CaptureJson_PreCondition(JsonLinkTypeEnd instance, ref JToken token);
static partial void InstanceFactory(ref JsonLinkTypeEnd instance, string callerName) { var token = new JObject(); instance = JsonLinkTypeEnd.FromToken(token); }
partial void GetHashCode_PostValidate(JsonLinkTypeEnd instance, Int32 _retVal);
partial void FromToken_PreCondition(JsonLinkTypeEnd instance, ref JObject token);
partial void FromToken_PostValidate(JsonLinkTypeEnd instance, JObject token, JsonLinkTypeEnd _retVal);
partial void Equals_PreCondition(JsonLinkTypeEnd instance, ref Object obj);
partial void Equals_PostValidate(JsonLinkTypeEnd instance, Object obj, Boolean _retVal);
partial void GetType_PostValidate(JsonLinkTypeEnd instance, Type _retVal);
partial void LinkTypeEnd_SetCondition(ref JsonRelatedLink instance, ref JsonLinkTypeEnd setValue);
partial void CaptureJson_PostValidate(JsonLinkTypeEnd instance, JToken token);