Closed stevebrownlee closed 6 years ago
Requires ActiveCustomer Requires Product Class Requires Product Manager
Create class: Order
Create class: OrderManager -- Add Method to add new order
Create class: OrderProductManager -- Add Method to add product to an unpaid order
Test that asserts an order can be created
Test that asserts an order exists for a customer Id, and is unpaid
Test that asserts a product can be added to an order
?? Test that asserts a product exists in an order
Given a customer has been made active in the program When the user selects the option to add a product to the active customer's order Then the user should be prompted with a numbered list of all products And when one is chosen, the product should be added to an order for the active customer