예제 #1
0
        public static void BeforeFeature(IObjectContainer objectContainer, RepositoryTestDependencyRegistration dependencyRegistration)
        {
            objectContainer.ResolveFeatureDependencies()
            .ToList()
            .ForEach(dependency => dependency.Register(objectContainer));

            var environmentSettings = objectContainer.Resolve <IEnvironmentSettings>();

            using var featureContext = objectContainer.Resolve <FeatureContext>();
            IgnoreDataProviderSpecificFeature(featureContext, environmentSettings);
        }