Example to show the use of Mock Objects