Step 1 − Create an interface called CalculatorService to provide mathematical functions.
Step 2 − Create a JAVA class to represent MathApplication.
Step 3 − Test the MathApplication class. ...
Step 4 − Execute test cases. ...
Step 5 − Verify the Result.
https://www.tutorialspoint.com/mockito/mockito_create_mock.htm