public void TestMapUserToUserDO() { UserDO baseUser = new UserDO(); baseUser.Email = "*****@*****.**"; baseUser.Name = "Nume"; baseUser.Id = 5; User destUser = new User(); destUser = mapper.MapData <User, UserDO>(baseUser); Assert.AreEqual(destUser.Email, "*****@*****.**"); Assert.AreEqual(destUser.Name, "Nume"); Assert.AreEqual(destUser.Id, 5); }