verify mock is called