*/
@Test
public void getStatsTest() throws ExecutionException, InterruptedException {
- final LispSouthboundStats stats = new LispSouthboundStats();
+ final ConcurrentLispSouthboundStats stats = new ConcurrentLispSouthboundStats();
incrementAll(stats);
Mockito.when(lispSouthboundPlugin.getStats()).thenReturn(stats);
*/
@Test
public void resetStatsTest() throws ExecutionException, InterruptedException {
- final LispSouthboundStats stats = new LispSouthboundStats();
+ final ConcurrentLispSouthboundStats stats = new ConcurrentLispSouthboundStats();
incrementAll(stats);
Mockito.when(lispSouthboundPlugin.getStats()).thenReturn(stats);
.setMappingRecordItem(Lists.newArrayList(getDefaultMappingRecordItem()));
}
- private static void incrementAll(LispSouthboundStats stats) {
+ private static void incrementAll(ConcurrentLispSouthboundStats stats) {
for (MessageType type : MessageType.values()) {
stats.incrementRx(type.getIntValue());
}