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 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); }); }
static partial void InstanceFactory(ref JsonLinkTypeEnd instance, string callerName) { var token = new JObject(); instance = JsonLinkTypeEnd.FromToken(token); }