public static void MyClassInitialize(TestContext testContext) { AutoFacResolver.InitialiseFoundation(); var instance = DependencyResolver.Current.Resolve <IFoundationConfigurationSection>(); _provider = DependencyResolver.Current.Resolve <IPersistenceProvider>("nhibernate-01"); }
public static void MyClassInitialize(TestContext testContext) { _testContext = testContext; AutoFacResolver.InitialiseFoundation(); }
public static void Start() { AutoFacResolver.InitialiseFoundation(); }
public static void MyClassInitialize(TestContext testContext) { AutoFacResolver.InitialiseFoundation(); DtoMappingHelper.RegisterAllFromAssemblyOf <PersistenceEntityDto>(); }
public static void MyClassInitialize(TestContext testContext) { AutoFacResolver.InitialiseFoundation(); _manager = DependencyResolver.Current.Resolve <IPersistenceManager>("in-memory-01"); }