face: consistently use the template method pattern in ProtocolFactory

Change-Id: Ied0bf02cfcdffc7e9b2c28c5452441c01f98ccbc
diff --git a/tests/daemon/mgmt/face-manager.t.cpp b/tests/daemon/mgmt/face-manager.t.cpp
index a08c2dc..69b2116 100644
--- a/tests/daemon/mgmt/face-manager.t.cpp
+++ b/tests/daemon/mgmt/face-manager.t.cpp
@@ -291,31 +291,8 @@
 class TestProtocolFactory : public face::ProtocolFactory
 {
 public:
-  TestProtocolFactory(const CtorParams& params)
-    : ProtocolFactory(params)
-  {
-  }
+  using ProtocolFactory::ProtocolFactory;
 
-  void
-  processConfig(OptionalConfigSection configSection,
-                FaceSystem::ConfigContext& context) final
-  {
-  }
-
-  void
-  createFace(const CreateFaceRequest& req,
-             const face::FaceCreatedCallback& onCreated,
-             const face::FaceCreationFailedCallback& onConnectFailed) final
-  {
-  }
-
-  std::vector<shared_ptr<const face::Channel>>
-  getChannels() const final
-  {
-    return m_channels;
-  }
-
-public:
   shared_ptr<TestChannel>
   addChannel(const std::string& channelUri)
   {
@@ -325,6 +302,13 @@
   }
 
 private:
+  std::vector<shared_ptr<const face::Channel>>
+  doGetChannels() const final
+  {
+    return m_channels;
+  }
+
+private:
   std::vector<shared_ptr<const face::Channel>> m_channels;
 };