use ZoneInterface pointers where Dbus aspect not important

The implementation of the ZoneInterface used is the DbusPidZone, however
using the ZoneInterface when the Dbus aspect is unimportant provides for
trivial support of other implementations.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I0ed87322904e7f87e5b5c8a50c01144f3d843a10
diff --git a/test/controller_mock.hpp b/test/controller_mock.hpp
index 63353a1..d2375b1 100644
--- a/test/controller_mock.hpp
+++ b/test/controller_mock.hpp
@@ -1,6 +1,7 @@
 #pragma once
 
 #include "pid/controller.hpp"
+#include "pid/zone_interface.hpp"
 
 #include <gmock/gmock.h>
 
@@ -12,7 +13,7 @@
   public:
     virtual ~ControllerMock() = default;
 
-    ControllerMock(const std::string& id, DbusPidZone* owner) :
+    ControllerMock(const std::string& id, ZoneInterface* owner) :
         PIDController(id, owner)
     {}
 
diff --git a/test/zone_mock.hpp b/test/zone_mock.hpp
index f5044f8..48b7e9a 100644
--- a/test/zone_mock.hpp
+++ b/test/zone_mock.hpp
@@ -14,13 +14,29 @@
   public:
     virtual ~ZoneMock() = default;
 
+    MOCK_METHOD0(updateFanTelemetry, void());
+    MOCK_METHOD0(updateSensors, void());
+    MOCK_METHOD0(initializeCache, void());
     MOCK_METHOD1(getCachedValue, double(const std::string&));
+
     MOCK_METHOD1(addSetPoint, void(double));
+    MOCK_METHOD0(clearSetPoints, void());
     MOCK_METHOD1(addRPMCeiling, void(double));
+    MOCK_METHOD0(clearRPMCeilings, void());
+    MOCK_METHOD0(determineMaxSetPointRequest, void());
     MOCK_CONST_METHOD0(getMaxSetPointRequest, double());
+
+    MOCK_METHOD0(processFans, void());
+    MOCK_METHOD0(processThermals, void());
+
+    MOCK_CONST_METHOD0(getManualMode, bool());
     MOCK_CONST_METHOD0(getFailSafeMode, bool());
     MOCK_CONST_METHOD0(getFailSafePercent, double());
+
     MOCK_METHOD1(getSensor, Sensor*(const std::string&));
+
+    MOCK_METHOD0(initializeLog, void());
+    MOCK_METHOD1(writeLog, void(const std::string&));
 };
 
 } // namespace pid_control