internal static JsonArea GetInstance([CallerMemberName] string callerName = "") { JToken json = new JObject(); JsonSource(ref json); JsonArea instance = JsonArea.FromToken(json); InstanceFactory(ref instance, callerName); return(instance); }
public void FromToken_UnitTest() { JToken content = default(JToken); JsonArea _retVal = default(JsonArea); ExecuteMethod( () => { return(GetInstance()); }, instance => { content = default(JToken); //No Constructor FromToken_PreCondition(instance, ref content); }, instance => { return(_retVal = JsonArea.FromToken(content)); }, instance => { FromToken_PostValidate(instance, content, _retVal); }); }