public ChartFactory(IContainer container, IIdGenerator idGenerator, IPresentationUserSettings presentationUserSettings, IDimensionFactory dimensionFactory, ITableFormulaToDataRepositoryMapper dataRepositoryMapper) { _container = container; _idGenerator = idGenerator; _presentationUserSettings = presentationUserSettings; _dimensionFactory = dimensionFactory; _dataRepositoryMapper = dataRepositoryMapper; }
protected override void Context() { _container = A.Fake <IContainer>(); _userSettings = A.Fake <IPresentationUserSettings>(); _userSettings.DefaultChartYScaling = Scalings.Linear; _tableFormulaToDataRepositoryMapper = A.Fake <ITableFormulaToDataRepositoryMapper>(); _dimensionFactory = A.Fake <IDimensionFactory>(); sut = new ChartFactory(_container, new IdGenerator(), _userSettings, _dimensionFactory, _tableFormulaToDataRepositoryMapper); }
public PKSimChartFactory(IContainer container, IIdGenerator idGenerator, IPresentationUserSettings presentationUserSettings, IDimensionFactory dimensionFactory, ITableFormulaToDataRepositoryMapper dataRepositoryMapper, IChartTask chartTask) : base(container, idGenerator, presentationUserSettings, dimensionFactory, dataRepositoryMapper) { _chartTask = chartTask; }