public void TestShortenSimilarNames()
        {
            RouteRegistrationService service = new RouteRegistrationService(mockConfigurationManager.Object);

            Assert.IsTrue(service.shorten("Participantregistration") == "Prt");
            Assert.IsTrue(service.usedShortValues.Contains("Prt"));
            Assert.IsTrue(string.Equals(service.shorten("partICIPAntregiSTratiONing"), "Prt0", StringComparison.OrdinalIgnoreCase));
            Assert.IsTrue(service.usedShortValues.Contains("Prt0"));
            Assert.IsTrue(service.shortenedNames.ContainsKey("partICIPAntregiSTratiONing"));
        }
        public void TestShortenCaseSensitive()
        {
            RouteRegistrationService service = new RouteRegistrationService(mockConfigurationManager.Object);

            Assert.IsTrue(service.shorten("Participantregistration") == "Prt");
            Assert.IsTrue(service.usedShortValues.Contains("Prt"));
            Assert.IsTrue(service.shorten("partICIPAntregiSTratiON") == "Prt");
            Assert.IsTrue(service.usedShortValues.Contains("Prt"));
            Assert.IsTrue(service.shortenedNames.ContainsKey("ParticipantRegistration"));
        }
        public void TestShortenArgumentEmpty()
        {
            RouteRegistrationService service = new RouteRegistrationService(mockConfigurationManager.Object);

            service.shorten("");
        }