示例#1
0
        public void EndCommentarySetResolutionDateTest()
        {
            EndCommentary commentary            = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario");
            DateTime      resolutionDateTimeNew = new DateTime();

            DateTime.TryParse("2/2/2000", out resolutionDateTimeNew);
            commentary.setResolutionDate(resolutionDateTimeNew);
            Assert.AreEqual(commentary.getResolutionDate(), resolutionDateTimeNew);
        }
示例#2
0
        public void EndCommentaryGetResolutionDateTest()
        {
            EndCommentary commentary = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario");

            Assert.AreEqual(commentary.getResolutionDate(), resolutionDateTime);
        }