public void InCorrectAnswers()
        {
            LoginDTO username = new LoginDTO()
            {
                UserName = "******"
            };

            ResetPasswordResponseDTO incommingAnswers = new ResetPasswordResponseDTO()
            {
                Answers = new Dictionary <int, string>()
                {
                    { 2, "asdf" },
                    { 6, "Lakers" },
                    { 9, "Huntington Beach" }
                }
            };

            CheckAnswers correct = new CheckAnswers()
            {
                username         = username,
                incommingAnswers = incommingAnswers
            };

            var response = (ResetPasswordResponseDTO)correct.Execute().Result;

            Assert.False(response.isSuccessful);
        }
        /// <summary>
        /// checks answers
        /// </summary>
        /// <param name="incommingAnswers">incomming answers </param>
        /// <param name="username">username</param>
        /// <returns>true if answers are correct else false</returns>
        public ResetPasswordResponseDTO CheckAnswers(ResetPasswordResponseDTO incommingAnswers, UserCredential username)
        {
            LoginDTO user = new LoginDTO()
            {
                UserName = username.Username
            };
            CheckAnswers checkAnswers = new CheckAnswers()
            {
                incommingAnswers = incommingAnswers,
                username         = user
            };

            return((ResetPasswordResponseDTO)checkAnswers.Execute().Result);
        }
        public void UserDoesNotExist()
        {
            LoginDTO username = new LoginDTO()
            {
                UserName = "******"
            };

            CheckAnswers userdoesnotexist = new CheckAnswers()
            {
                username = username
            };

            var response = (ResetPasswordResponseDTO)userdoesnotexist.Execute().Result;

            Assert.False(response.isSuccessful);
        }