network_manager: Cleanup map type

We want the map type to be a unique_map that allows and type of strings
for comparsion.

Change-Id: I22158e85d90256fe827a0a2fb389acb68bc909a1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/mock_network_manager.hpp b/test/mock_network_manager.hpp
index 337af88..559a667 100644
--- a/test/mock_network_manager.hpp
+++ b/test/mock_network_manager.hpp
@@ -13,12 +13,12 @@
 void initializeTimers();
 void refreshObjects();
 
-class MockManager : public phosphor::network::Manager
+class MockManager : public Manager
 {
   public:
     MockManager(sdbusplus::bus_t& bus, const char* path,
                 const std::string& dir) :
-        phosphor::network::Manager(bus, path, dir)
+        Manager(bus, path, dir)
     {
     }
 
@@ -33,9 +33,8 @@
             // normal ethernet interface
             objPath /= interface;
             config::Parser config(config::pathForIntfConf(confDir, interface));
-            auto intf =
-                std::make_shared<phosphor::network::MockEthernetInterface>(
-                    bus, objPath.string(), config, *this, true);
+            auto intf = std::make_unique<MockEthernetInterface>(
+                bus, objPath.string(), config, *this, true);
             intf->createIPAddressObjects();
             intf->createStaticNeighborObjects();
             intf->loadNameServers(config);