public void IsMappedPath_ResourceFolderRoot()
        {
            var provider = new TestableResourceVirtualPathProvider(new[] { new ResourcePathMapping("test", "testResourceFolder") }, _testDirectory);

            Assert.That(provider.IsMappedPath("~/res/"));
        }
        public void IsMappedPath_UnknownResourceDirectory()
        {
            var provider = new TestableResourceVirtualPathProvider(new[] { new ResourcePathMapping("test", "testResourceFolder") }, _testDirectory);

            Assert.That(provider.IsMappedPath("~/res/unknown/subdirectory"), Is.False);
        }
        public void IsMappedPath_WithSubDirectoryMapping()
        {
            var provider = new TestableResourceVirtualPathProvider(new[] { new ResourcePathMapping("test/subdirectory", "testResourceFolder") }, _testDirectory);

            Assert.That(provider.IsMappedPath("~/res/test/subdirectory/file.txt"));
        }