JUnit testing

I need this code to be tested using the carts 0-5. No modification to the code is allowed and it must be able to run in gradle upon completion of this rubric. instructions are in the Unittest pdf and the code is given in the code