mock is deprecated, use double instead