operationalAdd();
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
Mockito.verify(deviceMastershipManager).onDeviceConnected(NODE_ID);
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
Mockito.verify(deviceMastershipManager).onDeviceDisconnected(NODE_ID);
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
Mockito.verify(deviceMastershipManager).onDeviceDisconnected(NODE_ID);
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
}
@Test
nodeListenerOperational.onDataTreeChanged(Collections.singleton(dataTreeModification));
Mockito.verify(reconciliationRegistry).unregisterIfRegistered(NODE_ID);
- Mockito.verifyZeroInteractions(reactor);
+ Mockito.verifyNoMoreInteractions(reactor);
Mockito.verify(roTx).close();
}
@Test
public void testUpdateTableFeatures() throws Exception {
- Mockito.lenient().when(tableCommitter.update(ArgumentMatchers.any(),
- ArgumentMatchers.isNull(TableFeatures.class), tableFeaturesCaptor.capture(),
- ArgumentMatchers.same(NODE_IDENT)))
+ Mockito.lenient().when(tableCommitter.update(ArgumentMatchers.any(), ArgumentMatchers.isNull(),
+ tableFeaturesCaptor.capture(), ArgumentMatchers.same(NODE_IDENT)))
.thenReturn(RpcResultBuilder.success(new UpdateTableOutputBuilder().build()).buildFuture());
final FlowCapableNode operational = new FlowCapableNodeBuilder()