Verify that mocking dependencies isolates the unit under test
Preconditions (2)
Step 1: Create a mock of the Service class
Step 2: Inject the mock Service into the Calculator instance
Step 3: Call the Calculator's method that uses the Service
Step 4: Verify that the Calculator method returns the expected result based on the mock behavior
Step 5: Verify that the Service mock was called as expected
✅ Expected Result: The Calculator method returns the expected result without calling the real Service implementation, proving the unit is isolated