Exposed maximumEntries for TableStatistics to sal
[controller.git] / opendaylight / sal / api / src / test / java / org / opendaylight / controller / sal / reader / NodeTableStatisticsTest.java
index c0d6bb698a7b0cf9112bcfa51b8e95ce2e20cf5b..a29d4268dab2c02f55006ff948a1735ee65125ea 100644 (file)
@@ -24,12 +24,14 @@ public class NodeTableStatisticsTest {
         ntStats.setActiveCount(100);
         ntStats.setLookupCount(200);
         ntStats.setMatchedCount(500);
+        ntStats.setMaximumEntries(1000);
         ntStats.setName("Test");
 
         Assert.assertTrue(ntStats.getNodeTable().equals(nt));
         Assert.assertTrue(ntStats.getActiveCount() == 100);
         Assert.assertTrue(ntStats.getLookupCount() == 200);
         Assert.assertTrue(ntStats.getMatchedCount() == 500);
+        Assert.assertTrue(ntStats.getMaximumEntries() == 1000);
         Assert.assertTrue(ntStats.getName().equals("Test"));
     }
 }