To Documents
IT 313 -- Project 3
- Goal: test the VendingMachine Class
 
VendingMachine Class
Test Files
- Write a traditional test class named Test1 that tests 
all the public methods of the
VendingMachine class.
 
- Write a unit test class named Test2 that tests all 
the public methods of the 
VendingMachine class.
 
- Because each method provides a different message, to fully test the 
getMessage instance variable, for full credit test it after
each instance variable that changes the message.
 
Grading Breakdown
- Test1 class: 
35%;
Test2 class: 35%; Comments: 10%; Indentation: 10%; 
Header with Name, Project Number, and Submit Date: 5%; Submitted Correctly: 5%
 
- 30% deduction for not including the VendingMachine class in your project.