@Test public void testOnWrite() { when(rootNode.getModificationType()).thenReturn(DataObjectModification.ModificationType.WRITE); WriteTransaction wt = resetTransaction(); listener.onDataTreeChanged(changes); verify(listener).onSubtreeModified(rootNode, rootIdentifier); }
@Override protected void onWrite(DataObjectModification<ClassifierDefinition> rootNode, InstanceIdentifier<ClassifierDefinition> rootIdentifier) { onSubtreeModified(rootNode, rootIdentifier); }
ClassifierDefinitionListener extends DataTreeChangeHandler<ClassifierDefinition> { @Override protected void onWrite(DataObjectModification<ClassifierDefinition> rootNode, InstanceIdentifier<ClassifierDefinition> rootIdentifier) { onSubtreeModified(rootNode, rootIdentifier); } }
ClassifierDefinitionListener extends DataTreeChangeHandler<ClassifierDefinition> { @Override protected void onWrite(DataObjectModification<ClassifierDefinition> rootNode, InstanceIdentifier<ClassifierDefinition> rootIdentifier) { onSubtreeModified(rootNode, rootIdentifier); } ClassifierDefinitionListener(DataBroker dataBroker); }
ClassifierDefinitionListener extends DataTreeChangeHandler<ClassifierDefinition> { @Override protected void onWrite(DataObjectModification<ClassifierDefinition> rootNode, InstanceIdentifier<ClassifierDefinition> rootIdentifier) { onSubtreeModified(rootNode, rootIdentifier); } ClassifierDefinitionListener(DataBroker dataBroker);  }
ClassifierDefinitionListener extends DataTreeChangeHandler<ClassifierDefinition> { @Override protected void onWrite(DataObjectModification<ClassifierDefinition> rootNode, InstanceIdentifier<ClassifierDefinition> rootIdentifier) { onSubtreeModified(rootNode, rootIdentifier); } ClassifierDefinitionListener(DataBroker dataBroker);   }