示例#1
0
        public void IsNull_ClassNull()
        {
            PropClass obj        = null;
            var       validacion = obj.IsNull();

            Assert.IsTrue(validacion);
        }
示例#2
0
        public void IsNull_ObjetoClass()
        {
            var obj = new PropClass
            {
                Prop1 = "abc",
                Prop2 = 123
            };
            var validacion = obj.IsNull();

            Assert.IsFalse(validacion);
        }