fw: ForwarderCounters

refs #1199

Change-Id: I0664825d7b09b4e7e893876aefc5af10e53b90b1
diff --git a/tests/fw/forwarder.cpp b/tests/fw/forwarder.cpp
index 419a7ba..925ba5b 100644
--- a/tests/fw/forwarder.cpp
+++ b/tests/fw/forwarder.cpp
@@ -40,19 +40,27 @@
   shared_ptr<fib::Entry> fibEntry = fibInsertResult.first;
   fibEntry->addNextHop(face2, 0);
 
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getInInterest (), 0);
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getOutInterest(), 0);
   face1->receiveInterest(*interestAB);
   g_io.run();
   g_io.reset();
   BOOST_REQUIRE_EQUAL(face2->m_sentInterests.size(), 1);
   BOOST_CHECK(face2->m_sentInterests[0].getName().equals(nameAB));
   BOOST_CHECK_EQUAL(face2->m_sentInterests[0].getIncomingFaceId(), face1->getId());
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getInInterest (), 1);
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getOutInterest(), 1);
 
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getInData (), 0);
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getOutData(), 0);
   face2->receiveData(*dataABC);
   g_io.run();
   g_io.reset();
   BOOST_REQUIRE_EQUAL(face1->m_sentDatas.size(), 1);
   BOOST_CHECK(face1->m_sentDatas[0].getName().equals(nameABC));
   BOOST_CHECK_EQUAL(face1->m_sentDatas[0].getIncomingFaceId(), face2->getId());
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getInData (), 1);
+  BOOST_CHECK_EQUAL(forwarder.getCounters().getOutData(), 1);
 }
 
 class ScopeLocalhostIncomingTestForwarder : public Forwarder