+ // TODO consider tests rewrite (added because of complicated access)
+ forwardingRulesManager.setDeviceMastershipManager(deviceMastershipManager);
+ Mockito.when(deviceMastershipManager.isDeviceMastered(NODE_ID)).thenReturn(true);
+ }
+
+ @Test
+ public void updateFlowTest() {
+ TableKey tableKey = new TableKey((short) 2);
+ TableFeaturesKey tableFeaturesKey = new TableFeaturesKey(tableKey.getId());