Exemple #1
0
        public void TestToString_AllValuesNull()
        {
            var model = new SorterBindingModel
            {
                Direction = null,
                Property  = null
            };

            Assert.IsNotNull(model.ToString());
        }
Exemple #2
0
        public void TestToString_AllValuesInitialized()
        {
            var model = new SorterBindingModel
            {
                Direction = SortDirection.Ascending.Value,
                Property  = "S"
            };

            Assert.IsNotNull(model.ToString());
        }