public GetAccountEndOfMonthBalanceQueryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = Substitute.For <IContextAdapter>(); contextAdapterMock.Context.Returns(context); }
public DeleteAccountByIdCommandTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public GetCategoryByIdQueryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public GetExcludedAccountQueryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public ClearPaymentsCommandTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public GetMonthlyIncomeQueryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapter = Substitute.For <IContextAdapter>(); contextAdapter.Context.Returns(context); }
public GetIncludedAccountBalanceSummaryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapter = Substitute.For <IContextAdapter>(); contextAdapter.Context.Returns(context); }
public GetIfAccountWithNameExistsQueryTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public GetAccountProgressionHandlerTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public GetCashFlowQueryHandlerTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public UpdateCategoryCommandTests() { context = InMemoryEfCoreContextFactory.Create(); backupServiceMock = new Mock <IBackupService>(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); }
public DeleteCategoryByIdCommandTests() { context = InMemoryEfCoreContextFactory.Create(); backupServiceMock = new Mock <IBackupService>(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); settingsFacadeMock = new Mock <ISettingsFacade>(); settingsFacadeMock.SetupSet(x => x.LastDatabaseUpdate = It.IsAny <DateTime>()); }
public DeleteAccountByIdCommandTests() { context = InMemoryEfCoreContextFactory.Create(); contextAdapterMock = new Mock <IContextAdapter>(); contextAdapterMock.SetupGet(x => x.Context).Returns(context); backupServiceMock = new Mock <IBackupService>(); backupServiceMock.Setup(x => x.UploadBackupAsync(BackupMode.Automatic)) .Returns(Task.CompletedTask); settingsFacadeMock = new Mock <ISettingsFacade>(); settingsFacadeMock.SetupSet(x => x.LastDatabaseUpdate = It.IsAny <DateTime>()); }
public DeletePaymentByIdCommandTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetAccountNameByIdQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetExcludedAccountQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetCategoryBySearchTermQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetCategorySpreadingQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetIfCategoryWithNameExistsQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetCashFlowQueryHandlerTests() { context = InMemoryEfCoreContextFactory.Create(); }
public CreateAccountCommandTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetPaymentByIdQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public UpdatePaymentCommandTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetCategorySummaryQueryTests() { context = InMemoryEfCoreContextFactory.Create(); }
public UpdateCategoryCommandTests() { context = InMemoryEfCoreContextFactory.Create(); }
public GetIncludedAccountBalanceSummaryTests() { context = InMemoryEfCoreContextFactory.Create(); }