private IDimensionConverterFor createFieldConverterFor(NumericFieldContext fieldContext)
        {
            var quantityField = fieldContext.NumericValueField as IQuantityField;

            if (quantityField == null)
            {
                return(null);
            }

            return(createFieldConverterFor(quantityField, fieldContext.PopulationDataCollector));
        }
        protected override void Context()
        {
            base.Context();
            _displayUnit                  = A.Fake <Unit>();
            _mergedDimension              = A.Fake <IDimension>();
            _pkParameterDimension         = A.Fake <IDimension>();
            _pkParameter                  = new QuantityPKParameter().WithName("AUC").WithDimension(_pkParameterDimension);
            _pkParameterField             = new PopulationAnalysisPKParameterField().WithDimension(_pkParameterDimension);
            _pkParameterField.DisplayUnit = _displayUnit;

            A.CallTo(() => _dimensionRepository.MergedDimensionFor(A <NumericFieldContext> ._))
            .Invokes(x => _numericFieldContect = x.GetArgument <NumericFieldContext>(0))
            .Returns(_mergedDimension);
        }