private void warnIfParameterAlreadyExists(PopulationSimulationPKAnalyses pkAnalyses, QuantityPKParameter pkParameter, SimulationPKParametersImport importedPKParameter) { if (pkAnalyses.IsNull()) { return; } if (pkAnalyses.PKParameterBy(pkParameter.Id) == null) { return; } importedPKParameter.AddWarning(PKSimConstants.Warning.PKParameterAlreadyExistsAndWillBeOverwritten(pkParameter.Name, pkParameter.QuantityPath)); }
public void should_have_created_one_pk_analyses_for_each_output_defined_in_the_simulation() { _results.IsNull().ShouldBeTrue(); }