Customer Account Limit document

Every customer is able to have an Account Limit, where he is able to loan at ACME bank automatically, but the amount of money available and also the tax applied depend on some variables. There are some rules:

Check some examples where we will check if a customer with a specific number of years being a customer is able to have a determined value for credit limit.
 
com.facensa.bank.fixtures.AccountLimitFixture
yearsAsCustomer limitExpected validate()
1 0 ok
1 400 error
3 999 error
4 999 ok


fit.Summary

Document prepared by Daniel Wildt
First Version September 01, 2008
Last Update September 09, 2008