public void SetUp() { var domain = AppDomain.CreateDomain("TestDomain", null, AppDomain.CurrentDomain.BaseDirectory, AppDomain.CurrentDomain.RelativeSearchPath, false); _runsInAppDomain = domain.CreateInstanceAndUnwrap(Assembly.GetExecutingAssembly().FullName, "NUnit.Framework.Internal.RunsInAppDomain") as RunsInAppDomain; Assert.That(_runsInAppDomain, Is.Not.Null); }