public void when_matching_for_a_contains_match_and_the_description_is_not_contained_should_return_false() { var transaction_match = new TransactionMatch { TransactionMatchType = TransactionMatchType.ContainsMatch, ContainsMatchString = "Dividend" }; var description = "a diviZdend b"; var actual = new TransactionTypeService(null).Matches(description, transaction_match); actual.Should().BeFalse(); }
public void when_matching_for_an_exact_match_and_the_description_is_not_an_exact_match_should_return_false() { var transaction_match = new TransactionMatch { TransactionMatchType = TransactionMatchType.ExactMatch, Description = "Dividend" }; var description = "dividend and stuff"; var actual = new TransactionTypeService(null).Matches(description, transaction_match); actual.Should().BeFalse(); }
public ParsedVanguardCVSRowMapper(SecurityService security_service, AccountService account_service, TransactionTypeService transaction_type_service) { this.security_service = security_service; this.account_service = account_service; this.transaction_type_service = transaction_type_service; }
public AssociateTransactionsWithMissingTransactionTypesCommand(DataContext context, TransactionTypeService service) { this.service = service; this.context = context; }