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