Example #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);
        }
Example #2
0
        public void EndCommentaryGetResolutionDateTest()
        {
            EndCommentary commentary = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario");

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