removed deprecation warning for mock vs double

Fixed: DEPRECATION: mock is deprecated. Use double instead.