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); }
public void EndCommentaryGetResolutionDateTest() { EndCommentary commentary = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario"); Assert.AreEqual(commentary.getResolutionDate(), resolutionDateTime); }