### Question:
TerminationPointUpdateCommand implements TransactCommand { @Override public void execute(final TransactionBuilder transaction, final BridgeOperationalState state, final DataChangeEvent events, final InstanceIdentifierCodec instanceIdentifierCodec) { execute(transaction, state, TransactUtils.extractCreatedOrUpdated(events, OvsdbTerminationPointAugmentation.class), instanceIdentifierCodec); }  @Override void execute(final TransactionBuilder transaction, final BridgeOperationalState state,
            final DataChangeEvent events, final InstanceIdentifierCodec instanceIdentifierCodec); @Override void execute(final TransactionBuilder transaction, final BridgeOperationalState state,
            final Collection<DataTreeModification<Node>> modifications,
            final InstanceIdentifierCodec instanceIdentifierCodec); void updateTerminationPoint(final TransactionBuilder transaction, final BridgeOperationalState state,
            final InstanceIdentifier<OvsdbTerminationPointAugmentation> iid,
            final OvsdbTerminationPointAugmentation terminationPoint,
            final InstanceIdentifierCodec instanceIdentifierCodec);  }### Answer:
@SuppressWarnings("unchecked") @Test public void testExecute() { Map<InstanceIdentifier<OvsdbTerminationPointAugmentation>, OvsdbTerminationPointAugmentation> created = new HashMap<>(); created.put(mock(InstanceIdentifier.class), mock(OvsdbTerminationPointAugmentation.class)); PowerMockito.mockStatic(TransactUtils.class); PowerMockito.when(TransactUtils.extractCreated(any(DataChangeEvent.class), eq(OvsdbTerminationPointAugmentation.class))).thenReturn(created); MemberModifier.suppress(MemberMatcher.method(TerminationPointUpdateCommand.class, "updateTerminationPoint", TransactionBuilder.class, BridgeOperationalState.class, InstanceIdentifier.class, OvsdbTerminationPointAugmentation.class, InstanceIdentifierCodec.class)); doNothing().when(terminationPointUpdateCommand).updateTerminationPoint(any(TransactionBuilder.class), any(BridgeOperationalState.class), any(InstanceIdentifier.class), any(OvsdbTerminationPointAugmentation.class), any(InstanceIdentifierCodec.class)); Map<InstanceIdentifier<OvsdbTerminationPointAugmentation>, OvsdbTerminationPointAugmentation> updated = new HashMap<>(); updated.put(mock(InstanceIdentifier.class), mock(OvsdbTerminationPointAugmentation.class)); PowerMockito.when(TransactUtils.extractUpdated(any(DataChangeEvent.class), eq(OvsdbTerminationPointAugmentation.class))).thenReturn(updated); TransactionBuilder transactionBuilder = mock(TransactionBuilder.class); terminationPointUpdateCommand.execute(transactionBuilder, mock(BridgeOperationalState.class), mock(DataChangeEvent.class), mock(InstanceIdentifierCodec.class)); }