face: eliminate Transport::Packet wrapper type

Refs: #4843
Change-Id: I5977be55e8bdac33c989e3b8523fea764f304c37
diff --git a/tests/daemon/face/dummy-transport.hpp b/tests/daemon/face/dummy-transport.hpp
index 1594df8..3f3141e 100644
--- a/tests/daemon/face/dummy-transport.hpp
+++ b/tests/daemon/face/dummy-transport.hpp
@@ -34,6 +34,12 @@
 namespace face {
 namespace tests {
 
+struct TxPacket
+{
+  Block packet;
+  EndpointId endpoint;
+};
+
 /** \brief Dummy Transport type used in unit tests.
  *
  *  All packets sent through this transport are stored in `sentPackets`.
@@ -75,9 +81,9 @@
   }
 
   void
-  receivePacket(Block block)
+  receivePacket(const Block& block)
   {
-    receive(Packet(std::move(block)));
+    receive(block);
   }
 
 protected:
@@ -95,14 +101,14 @@
 
 private:
   void
-  doSend(Packet&& packet) override
+  doSend(const Block& packet, const EndpointId& endpoint) override
   {
-    sentPackets.push_back(std::move(packet));
+    sentPackets.push_back({packet, endpoint});
   }
 
 public:
   std::vector<ndn::nfd::FacePersistency> persistencyHistory;
-  std::vector<Packet> sentPackets;
+  std::vector<TxPacket> sentPackets;
 
 private:
   ssize_t m_sendQueueLength = 0;