In Java
Task 1: Create Junit tests for the behavior of the class/methodsunder normal operation scenarios. For example, to test the methodfindItem(String id) of the class HardwareStore, you may need tocreate a test method, which creates a mock Item object and adds itto the itemList before the method findItem can be called to searchthe list. To ensure that everything worked as planned, you can thensearch for the item using its idNumber and see if the correct itemis found. Mock objects can be created either in the same testmethod or before any test methods are run, using the @BeforeClassor @Before annotation. Task
PayPal Gateway not configured
PayPal Gateway not configured