public void GetById_InProcCachingService_SlashURL_Test()
        {
            DependencyManager.CachingService = new InProcCachingService();
            ValidUrlFileRepository fileRepository = new ValidUrlFileRepository();
            ValidUrl url = fileRepository.GetByFriendlyUrl(1, "/");

            Assert.AreEqual("/index", url.View);
            Assert.AreEqual(true, url.Active);
            Assert.AreEqual(true, url.Index);
            Assert.AreEqual(200, url.StatusCode);
        }
        public void GetById_InProcCachingService_Test()
        {
            DependencyManager.CachingService = new InProcCachingService();
            ValidUrlFileRepository fileRepository = new ValidUrlFileRepository();
            ValidUrl url = fileRepository.GetByFriendlyUrl(1, "/flights/cheap-flights-to-new-york-city");

            Assert.AreEqual("/flights/destination-city", url.View);
            Assert.AreEqual(true, url.Active);
            Assert.AreEqual(true, url.Index);
            Assert.AreEqual(200, url.StatusCode);
        }