Next page | Contents page |

Exercise 32 - Customer

Create a test class for the Customer class (3 pages back) and use EasyMock to write tests for its methods addOrder() and removeOrder() using mock objects of type Order.

Next page | Contents page |