Example #1
0
        public void NormalClass()
        {
            var source = new NormalClass {
                FirstName = "John", LastName = "Smith", Item = "Socks"
            };

            SerializerConsistencyHepers.Test(source);
        }
Example #2
0
        public void NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass {
                FirstName = string.Empty, LastName = null, Item = "   "
            };

            SerializerConsistencyHepers.Test(source);
        }
        public Task NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass {
                FirstName = string.Empty, LastName = null, Item = "   "
            };

            return(SerializerConsistencyHepers.TestAsync(source));
        }
        public Task NormalClass()
        {
            var source = new NormalClass {
                FirstName = "John", LastName = "Smith", Item = "Socks"
            };

            return(SerializerConsistencyHepers.TestAsync(source));
        }
        public void NullEmptyWhitespaceString()
        {
            NormalClass source = new NormalClass { FirstName = string.Empty, LastName = null, Item = "   " };

            SerializerConsistencyHepers.Test(source);
        }
 public void NormalClass()
 {
     var source = new NormalClass { FirstName = "John", LastName = "Smith", Item = "Socks" };
     SerializerConsistencyHepers.Test(source);
 }