danpersa/code-smell — pull request #5 by danpersa (2013-10-02 11:17:50+00:00)
Title: Solve the inappropriate intimacy

- Print methods don't belong to the Customer class, they also don't belong to the Account class
- Introduce CustomerReports class with two arguments
- Don't use the customer.getAccount() because our goal is to decouple Account and Customer
- Move the unit tests from the CustomerTest to CustomerReportsTest class
- Move the Account.printCustomer method to the new CustomReports and move unit test
- We can see that Account does not depend on Customer anymore, but the customer has a Feature Envy for the Account