public void LastActivity_UnitTest()
 {
     ExecuteProperty(
         () =>
         // Create Test Instance
     {
         JsonRoom instance = GetInstance();
         return(instance);
     },
         null, null, null, // No Set Accessor
         // Invoke Getter
         instance => { return(instance.LastActivity); },
         // Validate Get Operation
         (instance, setValue, getValue) => { });
 }
 public void HasReadWritePermissions_UnitTest()
 {
     ExecuteProperty(
         () =>
         // Create Test Instance
     {
         JsonRoom instance = GetInstance();
         return(instance);
     },
         null, null, null, // No Set Accessor
         // Invoke Getter
         instance => { return(instance.HasReadWritePermissions); },
         // Validate Get Operation
         (instance, setValue, getValue) => { });
 }
        public void FromToken_UnitTest()
        {
            JToken   token   = default(JToken);
            JsonRoom _retVal = default(JsonRoom);

            ExecuteMethod(
                () => { return(GetInstance()); },
                instance =>
            {
                token = default(JToken);     //No Constructor
                FromToken_PreCondition(instance, ref token);
            },
                instance => { return(_retVal = JsonRoom.FromToken(token)); },
                instance => { FromToken_PostValidate(instance, token, _retVal); });
        }
 partial void GetType_PostValidate(JsonRoom instance, Type _retVal);
 partial void GetHashCode_PreCondition(JsonRoom instance);
 partial void ToString_PreCondition(JsonRoom instance);
 partial void Name_SetCondition(ref JsonRoom instance, ref String setValue);
 partial void JsonValue_SetCondition(ref JsonRoom instance, ref JToken setValue);
 partial void Id_SetCondition(ref JsonRoom instance, ref Int32 setValue);
 partial void Description_SetCondition(ref JsonRoom instance, ref String setValue);
 partial void CreatedDate_SetCondition(ref JsonRoom instance, ref DateTime setValue);
 partial void CreatedBy_SetCondition(ref JsonRoom instance, ref String setValue);
 partial void CaptureJson_PreCondition(JsonRoom instance, ref JToken token);
 partial void CaptureJson_PostValidate(JsonRoom instance, JToken token);
 partial void GetType_PreCondition(JsonRoom instance);
 partial void HasReadWritePermissions_SetCondition(ref JsonRoom instance, ref Boolean setValue);
 partial void Equals_PostValidate(JsonRoom instance, Object obj, Boolean _retVal);
 static partial void InstanceFactory(ref JsonRoom instance, [CallerMemberName] string callerName = "");
 partial void Equals_PreCondition(JsonRoom instance, ref Object obj);
 partial void LastActivity_SetCondition(ref JsonRoom instance, ref String setValue);
 partial void FromToken_PostValidate(JsonRoom instance, JToken token, JsonRoom _retVal);
 partial void ToString_PostValidate(JsonRoom instance, String _retVal);
 partial void FromToken_PreCondition(JsonRoom instance, ref JToken token);
Ejemplo n.º 24
0
 public JsonConnection(JsonRoom s, JsonRoom e)
 {
     Source = s;
     End    = e;
 }
 partial void GetHashCode_PostValidate(JsonRoom instance, Int32 _retVal);