### Question:
OvsdbBridgeUpdateCommand extends AbstractTransactionCommand { @VisibleForTesting <T extends DataObject> void deleteEntries(ReadWriteTransaction transaction, List<InstanceIdentifier<T>> entryIids) { for (InstanceIdentifier<T> entryIid : entryIids) { transaction.delete(LogicalDatastoreType.OPERATIONAL, entryIid); } } OvsdbBridgeUpdateCommand(InstanceIdentifierCodec instanceIdentifierCodec, OvsdbConnectionInstance key,
            TableUpdates updates, DatabaseSchema dbSchema,
                                    Map<NodeId, Node> updatedBridgeNodes); @Override void execute(ReadWriteTransaction transaction); @Override void onSuccess(); @Override void onFailure(Throwable throwable);  }### Answer:
@SuppressWarnings("unchecked") @Test public void testDeleteEntries() throws Exception { ReadWriteTransaction transaction = mock(ReadWriteTransaction.class); List<InstanceIdentifier<DataObject>> entryIids = new ArrayList<>(); InstanceIdentifier<DataObject> iid = mock(InstanceIdentifier.class); entryIids.add(iid); doNothing().when(transaction).delete(any(LogicalDatastoreType.class), any(InstanceIdentifier.class)); Whitebox.invokeMethod(ovsdbBridgeUpdateCommand, "deleteEntries", transaction, entryIids); verify(transaction).delete(any(LogicalDatastoreType.class), any(InstanceIdentifier.class)); }