public void FileExistsTest() { AppInternalsPathProvider target = new AppInternalsPathProvider(); string virtualPath = "~/appinternals/configurations/files/global.asax"; Assert.IsTrue( target.FileExists( virtualPath ) ); }
/// <summary> /// constructor to initialize the member values of the local instance and of the base class /// </summary> /// <param name="virtualPath"></param> /// <param name="provider"></param> public AppInternalsVirtualFile(string virtualPath, AppInternalsPathProvider provider) : base(virtualPath) { this.path = virtualPath.ToLower(); this.provider = provider; }