mock is deprecated. Use double instead.