added verification method to check number of times a mocked method was called.