this is a bit confusing in terms of ownership  you could turn clock wrapper mock  into a scoped ptr  then set up the expectations  and then in each relevant test do timer  clock wrapper  reset clock wrapper mock  release 