protected override void Context()
 {
     base.Context();
     _neighborhoodRepository                       = A.Fake <IFlatNeighborhoodRepository>();
     _modelContainerRepository                     = A.Fake <IFlatModelContainerRepository>();
     _neighborhoodBuilderFactory                   = A.Fake <INeighborhoodBuilderFactory>();
     _modelProperties                              = A.Fake <ModelProperties>();
     _modelProperties.ModelConfiguration           = A.Fake <ModelConfiguration>();
     _modelProperties.ModelConfiguration.ModelName = "3Comp";
     _allFlatNeighborhoods                         = new List <FlatModelContainer>();
     A.CallTo(() => _modelContainerRepository.All()).Returns(_allFlatNeighborhoods);
     _flatNeighborhoodFor3Comp = new FlatModelContainer {
         Model = "3Comp", Type = CoreConstants.ContainerType.NEIGHBORHOOD, Id = 1
     };
     _flatNeighborhoodFor4Comp = new FlatModelContainer {
         Model = "4Comp", Type = CoreConstants.ContainerType.NEIGHBORHOOD, Id = 2
     };
     _allFlatNeighborhoods.Add(_flatNeighborhoodFor3Comp);
     _allFlatNeighborhoods.Add(_flatNeighborhoodFor4Comp);
     sut = new ModelNeighborhoodQuery(_modelContainerRepository, _neighborhoodBuilderFactory);
 }
 public SimulationHelperForSpecs(IObjectBaseFactory objectBaseFactory, IParameterStartValuesCreator parameterStartValuesCreator, IMoleculeStartValuesCreator moleculeStartValuesCreator, IObjectPathFactory objectPathFactory, IDimensionFactory dimensionFactory, IModelConstructor modelConstructor, ISpatialStructureFactory spatialStructureFactory, INeighborhoodBuilderFactory neighborhoodFactory, IOutputSchemaFactory outputSchemaFactory, IMoleculeBuilderFactory moleculeBuilderFactory, ISolverSettingsFactory solverSettingsFactory)
     : base(objectBaseFactory, parameterStartValuesCreator, moleculeStartValuesCreator, objectPathFactory,
            dimensionFactory, spatialStructureFactory, neighborhoodFactory, outputSchemaFactory, moleculeBuilderFactory, solverSettingsFactory)
 {
     _modelConstructor = modelConstructor;
 }
 public ModelNeighborhoodQuery(IFlatModelContainerRepository modelContainerRepository, INeighborhoodBuilderFactory neighborhoodBuilderFactory)
 {
     _modelContainerRepository   = modelContainerRepository;
     _neighborhoodBuilderFactory = neighborhoodBuilderFactory;
 }