/// <summary>
        /// Returns the User as a DTO
        /// </summary>
        /// <returns>User represented as a DTO</returns>
        public GenericDTO toDTO()
        {
            GenericDTO dto = new GenericDTO("User");

            dto.put("1", auth);
            return(dto);
        }
        public void testToDTO()
        {
            Console.WriteLine("toDTO");
            Authentication auth1 = new Auth("username", "email", "password");
            User           u1    = new User(auth1);
            GenericDTO     dto   = new GenericDTO("User");

            dto.put("1", auth1);
            Assert.True(dto.get("1").Equals(u1.toDTO().get("1")));
        }