public void CustomerObjectTest()
        {
            var testObject = TestModels.GetCustomer();

            Assert.IsTrue(!string.IsNullOrEmpty(testObject.email));
            Assert.AreEqual(0, testObject.userReference);
        }
        public static Migration GetMigration()
        {
            string MigrationJson =
                "{\"meta\":" + MetadataTest.MetadataJson + "," +
                "\"data\":" + TestModels.GetCustomer().ConvertToJson() + "}";

            return(JsonFormatter.ConvertFromJson <Migration>(MigrationJson));
        }
 public void CustomerToStringTest()
 {
     Assert.IsFalse(TestModels.GetCustomer().ToString().Length == 0);
 }
 public void CustomerCustomerConvertToJsonTest()
 {
     Assert.IsFalse(TestModels.GetCustomer().ConvertToJson().Length == 0);
 }