示例#1
0
        public void NoAttributesClassTest()
        {
            NoAttributesClass _NoAttributesClass = new NoAttributesClass();

            Assert.IsFalse(_NoAttributesClass.TraceCurrentLicenseCalled);
            Assert.IsFalse(_NoAttributesClass.TraceFailureReasonCalled);
            Assert.IsTrue(_NoAttributesClass.TraceNoLicenseFileCalled);
            Assert.IsFalse(_NoAttributesClass.TraceWarningCalled);
            Assert.IsFalse(_NoAttributesClass.Licensed);
            Assert.IsFalse(_NoAttributesClass.TraceCurrentLicenseCalled);
            Assert.IsFalse(_NoAttributesClass.TraceFailureReasonCalled);
            Assert.IsTrue(_NoAttributesClass.TraceNoLicenseFileCalled);
            Assert.IsFalse(_NoAttributesClass.TraceWarningCalled);
        }
        public void Test_Object_with_no_Attributes()
        {
            var obj = new NoAttributesClass();

            Assert.IsTrue(obj.Validate().IsSuccess);
        }
示例#3
0
        public void Test_Object_with_no_Attributes()
        {
            var obj = new NoAttributesClass();

            Assert.IsTrue(obj.Validate().IsSuccess);
        }