PEL:test: Refactor mocked checkDumpStatus usage

When creating an instance of the SRC class in a testcase, it needs a
filled in mock of the checkDumpStatus() function.  Instead of manually
doing that everywhere a PEL or SRC class is created, just do it in the
constructor of the mock DataInterface class.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I74790c67251465aae87d318ea37891d9eabab5e5
diff --git a/test/openpower-pels/mocks.hpp b/test/openpower-pels/mocks.hpp
index 094c670..103d7e8 100644
--- a/test/openpower-pels/mocks.hpp
+++ b/test/openpower-pels/mocks.hpp
@@ -18,7 +18,13 @@
 class MockDataInterface : public DataInterfaceBase
 {
   public:
-    MockDataInterface() {}
+    MockDataInterface()
+    {
+        ON_CALL(*this, checkDumpStatus)
+            .WillByDefault(
+                ::testing::Return(std::vector<bool>({false, false, false})));
+    }
+
     MOCK_METHOD(std::string, getMachineTypeModel, (), (const override));
     MOCK_METHOD(std::string, getMachineSerialNumber, (), (const override));
     MOCK_METHOD(std::string, getServerFWVersion, (), (const override));