Exemplo n.º 1
0
        public void ReusableAttribute_Unit_Comments_Optimal()
        {
            Boolean isReusable = true;
            ReusableAttribute target = new ReusableAttribute(isReusable);
            String value = "This is a test.";

            target.Comments = value;
            String actual = target.Comments;
            Assert.AreEqual(value, actual);
        }
Exemplo n.º 2
0
        public void ReusableAttribute_Unit_Approver_Optimal()
        {
            Boolean isReusable = true;
            ReusableAttribute target = new ReusableAttribute(isReusable);
            String value = "Chad Greer";

            target.Approver = value;
            String actual = target.Approver;
            Assert.AreEqual(value, actual);
        }
Exemplo n.º 3
0
        public void ReusableAttribute_Unit_IsReusable_Optimal()
        {
            Boolean isReusable = true;
            ReusableAttribute target = new ReusableAttribute(isReusable);

            Boolean actual = target.IsReusable;
            Assert.AreEqual(isReusable, actual);
        }