AppDomainToolkit.UnitTests.AssemblyTargetUnitTests.FromPath_NonExistingCodeBase C# (CSharp) Méthode

FromPath_NonExistingCodeBase() private méthode

private FromPath_NonExistingCodeBase ( ) : void
Résultat void
        public void FromPath_NonExistingCodeBase()
        {
            Assert.Throws(typeof(FileNotFoundException), () =>
            {
                var location = Path.GetFullPath(string.Format("{0}/{1}", Guid.NewGuid().ToString(), Path.GetRandomFileName()));
                var target = AssemblyTarget.FromPath(new Uri(location));
            });
        }