basics of mocking and stubbing