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

FindByLocation_NoRefAssembly_LoadFrom() private method

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