protected IndividualSimulation CreateSimulationWithCalculatedSpecificPintFor(CalculationMethod intestinalPermeabilityMethod) { var modelProperties = DomainFactoryForSpecs.CreateDefaultModelPropertiesFor(_individual); _compound.RemoveCalculationMethodFor(CoreConstants.Category.IntestinalPermeability); _compound.AddCalculationMethod(intestinalPermeabilityMethod); var simulation = DomainFactoryForSpecs.CreateModelLessSimulationWith(_individual, _compound, _protocol, modelProperties).DowncastTo <IndividualSimulation>(); DomainFactoryForSpecs.AddModelToSimulation(simulation); return(simulation); }