public void make_nice_url_from_string_1()
        {
            //arrange
            string input = "    AAAAbľščťžýáíé abľščťžýáÍÍÍÍé abľščťžÝÝÝÝÝÝáíé abľšČČČČťžýáíé abcd  ERTFSSS        ";
            string output = string.Empty;

            //act
            var specialChars = new ReplaceSpecialCharacters();
            output = specialChars.MakeNiceURL(input);

            //assert
            Assert.IsNotNull(output);
            Assert.AreEqual("aaaablsctzyaie-ablsctzyaiiiie-ablsctzyyyyyyaie-ablscccctzyaie-abcd--ertfsss", output);
        }
        public void spaces_will_be_replaced_with_default_string_and_trimmed_1()
        {
            //arrange
            string input = "     abcd efgh         ";
            string output = string.Empty;

            //act
            var specialChars = new ReplaceSpecialCharacters();
            output = specialChars.TrimAndReplaceSpaces(input);

            //assert
            Assert.IsNotNull(output);
            Assert.AreEqual("abcd-efgh", output);
        }
        public void diacritics_will_be_stripped_and_trimmed_1()
        {
            //arrange
            string input = "    abľščťžýáíé        ";
            string output = string.Empty;

            //act
            var specialChars = new ReplaceSpecialCharacters();
            output = specialChars.TrimAndRemoveDiacritics(input);

            //assert
            Assert.IsNotNull(output);
            Assert.AreEqual("ablsctzyaie", output);
        }
        public void strip_and_replace_space_1()
        {
            //arrange
            string input = "abľščťžýáíé abľščťžýáíé abľščťžýáíé abľščťžýáíé abcd";
            string output = string.Empty;

            //act
            var specialChars = new ReplaceSpecialCharacters();
            output = specialChars.RemoveDiacriticsAndReplaceSpaces(input, "--");

            //assert
            Assert.IsNotNull(output);
            Assert.AreEqual("ablsctzyaie--ablsctzyaie--ablsctzyaie--ablsctzyaie--abcd", output);
        }