public void ShouldVerifyPathWithDot()
        {
            var ctlr = new AssetsController();

            ctlr.NormalizePath(@"path\.\Index.html").Should().Be("path\\Index.html");
            ctlr.NormalizePath(@"path/./Index.html").Should().Be("path\\Index.html");
            ctlr.NormalizePath(@"path\./Index.html").Should().Be("path\\Index.html");
        }
        public void ShouldVerifyPathWithManyDots()
        {
            var ctlr = new AssetsController();

            ctlr.NormalizePath(@"path\path2\..\..\Index.html").Should().Be("Index.html");
            ctlr.NormalizePath(@"path/path2/../../Index.html").Should().Be("Index.html");
            ctlr.NormalizePath(@"path\path2\../../Index.html").Should().Be("Index.html");
        }
        public void ShouldReturnNullWhenBreakingOutOfTheRoot()
        {
            var ctlr = new AssetsController();

            ctlr.NormalizePath(@"path\..\path2\..\..\Index.html").Should().BeNull();
        }
        public void ShouldVerifyPathWithInterspercedDots()
        {
            var ctlr = new AssetsController();

            ctlr.NormalizePath(@"root\path\..\path2\..\Index.html").Should().Be("root\\Index.html");
        }