public void validateloginTest_should_return_false_when_login_attempt_is_empty()
        {
            Session_Holder target = new Session_Holder();
            target.calulated_key = new List<db_calculatedKey>();
            target.calulated_key.Add(new db_calculatedKey("test", "test_value"));

            Hashtable login_attempt = new Hashtable();

            bool expected = false;
            bool actual;
            actual = target.validate_login(login_attempt);
            Assert.AreEqual(expected, actual);
        }
        public void validateloginTest_should_return_false_when_SessionHolder_contains_no_values()
        {
            Session_Holder target = new Session_Holder();
            target.calulated_key = new List<db_calculatedKey>();

            Hashtable login_attempt = new Hashtable();
            login_attempt.Add("a random thing", "anything");
            login_attempt.Add("sdf", "sdf");

            bool expected = false;
            bool actual;
            actual = target.validate_login(login_attempt);
            Assert.AreEqual(expected, actual);
        }
        public void validateloginTest_should_return_true_when_SessionHolder_contains_alls_same_element_dispite_extra_passed_in_elements()
        {
            Session_Holder target = new Session_Holder();
            target.calulated_key = new List<db_calculatedKey>();
            target.calulated_key.Add(new db_calculatedKey("test", "test_value"));
            target.calulated_key.Add(new db_calculatedKey("a random thing", "anything"));

            Hashtable login_attempt = new Hashtable();
            login_attempt.Add("a random thing", "anything");
            login_attempt.Add("test", "test_value");
            login_attempt.Add("sdf", "sdf");

            bool expected = true;
            bool actual;
            actual = target.validate_login(login_attempt);
            Assert.AreEqual(expected, actual);
        }
        public void validateloginTest_should_return_true_when_login_attempt_from_different_hash_objects()
        {
            Session_Holder target = new Session_Holder();
            string data = "pa2ge_19_text=secretPassword;page_1_button_3=true;";
            target.calulated_key = (new Raw_Data_Builder(data)).Get_Login_Data;

            List<db_calculatedKey> login_attempt = (new Raw_Data_Builder(data)).Get_Login_Data;

            bool expected = true;
            bool actual;
            actual = target.validate_login(db_calculatedKey.convert_list_of_calculatedKey_to_Hashtable(login_attempt));
            Assert.AreEqual(expected, actual);
        }