public void SetUp() { showCalculationUseCaseMock = new Mock <IShowCalculationUseCase>(); ObjectFactory.Initialize(x => { x.For <IShowCalculationUseCase>().Use(showCalculationUseCaseMock.Object); }); view = new EditExpenseItemViewFake(); dataProvider = new CalculationDataProvider(new PersistentStorageFake()); }