public void FundRequestsList() { var dir = SampleDir.May19_GRY(); var sut = new FundReqsListVM(dir); sut.ReloadFromDB(); sut.ItemsList.Count.Should().Be(17); sut.TotalSum.Should().Be(501_380.77M); }
public VoucherReqsTabVM(MainWindowVM mainWindowVM) { var dir = mainWindowVM.AppArgs; _printr = new VouchersListPrintTrigger(mainWindowVM); FundRequests = new FundReqsListVM(dir); PreparedCheques = new PreparedChequesListVM(dir, this); IssuedCheques = new IssuedChequesListVM(dir); }