AppDomainToolkit.UnitTests.AppDomainContextUnitTests.FindByFullName_NoRefAssembly_LoadFrom C# (CSharp) Method

FindByFullName_NoRefAssembly_LoadFrom() private method

private FindByFullName_NoRefAssembly_LoadFrom ( ) : void
return void
        public void FindByFullName_NoRefAssembly_LoadFrom()
        {
            using (var context = AppDomainContext.Create())
            {
                var targetPath = Path.GetFullPath(NoRefsAssemblyPath);
                var target = context.LoadAssembly(LoadMethod.LoadFrom, targetPath);
                Assert.NotNull(context.FindByFullName(target.FullName));
            }
        }