Example 6 : Creating mock object using `Mock()`