regulators: Remove Services& from Sensors methods

Remove the Services& parameter from the Sensors methods.  This parameter
introduces a circular include dependency, and the parameter was only
being lightly used in two Sensors methods.

Tested:
* Verified that all DBusSensors methods work as expected.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I3b2c3ec0bec7ea51b24100531f3314e9f87cebee
diff --git a/phosphor-regulators/test/mock_sensors.hpp b/phosphor-regulators/test/mock_sensors.hpp
index 0973d7c..b649e9c 100644
--- a/phosphor-regulators/test/mock_sensors.hpp
+++ b/phosphor-regulators/test/mock_sensors.hpp
@@ -16,7 +16,6 @@
 #pragma once
 
 #include "sensors.hpp"
-#include "services.hpp"
 
 #include <string>
 
@@ -41,25 +40,22 @@
     MockSensors& operator=(MockSensors&&) = delete;
     virtual ~MockSensors() = default;
 
-    MOCK_METHOD(void, enable, (Services & services), (override));
+    MOCK_METHOD(void, enable, (), (override));
 
-    MOCK_METHOD(void, endCycle, (Services & services), (override));
+    MOCK_METHOD(void, endCycle, (), (override));
 
-    MOCK_METHOD(void, endRail, (bool errorOccurred, Services& services),
-                (override));
+    MOCK_METHOD(void, endRail, (bool errorOccurred), (override));
 
-    MOCK_METHOD(void, disable, (Services & services), (override));
+    MOCK_METHOD(void, disable, (), (override));
 
-    MOCK_METHOD(void, setValue,
-                (SensorType type, double value, Services& services),
-                (override));
+    MOCK_METHOD(void, setValue, (SensorType type, double value), (override));
 
-    MOCK_METHOD(void, startCycle, (Services & services), (override));
+    MOCK_METHOD(void, startCycle, (), (override));
 
     MOCK_METHOD(void, startRail,
                 (const std::string& rail,
                  const std::string& deviceInventoryPath,
-                 const std::string& chassisInventoryPath, Services& services),
+                 const std::string& chassisInventoryPath),
                 (override));
 };