public DatabaseGoalStorageTests() { this.dbContextMock = new Mock <GoalsDbContext>(); this.dataStorage = new DatabaseGoalStorage(this.dbContextMock.Object); }
/// <summary> /// Initializes a new instance of the <see cref="GoalManager"/> class. /// </summary> /// <param name="storage">Goals storage</param> public GoalManager(IGoalStorage storage) { this.storage = storage; }