clang-error: fix clang-diagnostic-overloaded-virtual error

The error clang-diagnostic-overloaded-virtual is generated
when a function  hides the overloaded virtual function.

Change-Id: I87fdabb4ea9efd0c69d1b030127a6a9782cd3b23
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/host-bmc/test/dbus_to_host_effecter_test.cpp b/host-bmc/test/dbus_to_host_effecter_test.cpp
index 5c62e31..b0b8a6c 100644
--- a/host-bmc/test/dbus_to_host_effecter_test.cpp
+++ b/host-bmc/test/dbus_to_host_effecter_test.cpp
@@ -20,9 +20,9 @@
         HostEffecterParser(nullptr, fd, repo, dbusHandler, jsonPath, nullptr)
     {}
 
-    MOCK_METHOD(void, setHostStateEffecter,
+    MOCK_METHOD(int, setHostStateEffecter,
                 (size_t, std::vector<set_effecter_state_field>&, uint16_t),
-                (const override));
+                (override));
 
     MOCK_METHOD(void, createHostEffecterMatch,
                 (const std::string&, const std::string&, size_t, size_t,