test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD

Change-Id: Iebd23cce5dbb2ac047c9df1db2320b0402cd2499
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/src/ipmiblob/test/crc_mock.hpp b/src/ipmiblob/test/crc_mock.hpp
index 41c2135..67bf9fd 100644
--- a/src/ipmiblob/test/crc_mock.hpp
+++ b/src/ipmiblob/test/crc_mock.hpp
@@ -21,8 +21,8 @@
 {
   public:
     virtual ~CrcMock() = default;
-    MOCK_CONST_METHOD1(generateCrc,
-                       std::uint16_t(const std::vector<std::uint8_t>&));
+    MOCK_METHOD(std::uint16_t, generateCrc, (const std::vector<std::uint8_t>&),
+                (const, override));
 };
 
 } // namespace ipmiblob