public void SetUp() { string path = new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath; _localDomain = AppDomain.CreateDomain("NewDomain"); _localDomain.Load(typeof(DataAccessor).Assembly.GetName()); _localTest = (DataAccessorBuilderTest)_localDomain.CreateInstanceFromAndUnwrap(path, GetType().FullName); }