protected override void Context()
 {
     _simulation       = A.Fake <IModelCoreSimulation>();
     _dimensionFactory = new DimensionFactoryForIntegrationTests();
     _dimensionFactory.AddDimension(DomainHelperForSpecs.TimeDimensionForSpecs());
     _dimensionFactory.AddDimension(DomainHelperForSpecs.ConcentrationDimensionForSpecs());
     sut = new SimulationPKAnalysesImporter(_dimensionFactory);
 }
Exemple #2
0
        private static void fillDimensions(IDimensionFactory dimensionFactory)
        {
            var persistor = IoC.Resolve <IDimensionFactoryPersistor>();

            persistor.Load(dimensionFactory, Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "OSPSuite.Dimensions.xml"));
            dimensionFactory.AddDimension(Constants.Dimension.NO_DIMENSION);
        }