### Question:
ResolvedPolicyListener extends DataTreeChangeHandler<ResolvedPolicy> { @Override protected void onDelete(DataObjectModification<ResolvedPolicy> rootNode, InstanceIdentifier<ResolvedPolicy> rootIdentifier) { throw new UnsupportedOperationException("Not implemented yet."); } ResolvedPolicyListener(DataBroker dataBroker, IovisorModuleManager iovisorModuleManager);   }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testOnDelete() { when(rootNode.getModificationType()).thenReturn(DataObjectModification.ModificationType.DELETE); resolvedPolicyListener.onDataTreeChanged(changes); }