public void SetUp() { _stageMock = new Mock<IStage>(); _stageName = Helper.GetUniqueName(); _stageMock.SetupGet(p => p.Name).Returns(_stageName); _dataAdapterMock = new Mock<IFileSystemDataAdapter<IStage>>(); _stageDataManager = new StageDataManager(_dataAdapterMock.Object); }
/// <summary> /// Initializes a new instance of the <see cref="StageBusinessManager"/> /// </summary> /// <param name="dataAdapter"></param> public StageBusinessManager(IDataAdapter<IStage> dataAdapter) { _dataManager = new StageDataManager(dataAdapter); }