mock() and stub() are deprecated, use double instead