Exemplo n.º 1
0
        public void EndCommentarySetResolutionUserTest()
        {
            EndCommentary commentary        = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario");
            User          resolutionUserNew = new User("NombreResolutorNew", "ApellidoNew", "EmailNew", birthDate, "PasswordNew", teamsUser);

            commentary.setResolutionUser(resolutionUserNew);
            Assert.AreEqual(commentary.getResolutionUser().getName(), "NombreResolutorNew");
        }
Exemplo n.º 2
0
        public void EndCommentaryGetResolutionUserTest()
        {
            EndCommentary commentary = new EndCommentary(creationDateTime, resolutionDateTime, creatorUser, resolutionUser, "Comentario");

            Assert.AreEqual(commentary.getResolutionUser().getName(), "NombreResolutor");
        }