### Question:
EndpointHelper { public static void updateEndpointWithLocation(Endpoint endpoint, String nodeIdString, String nodeConnectorIdString, ReadWriteTransaction rwTx) { NodeId invNodeId = new NodeId(nodeIdString); NodeConnectorId ncId = new NodeConnectorId(nodeConnectorIdString); OfOverlayContext newOfOverlayCtx = new OfOverlayContextBuilder().setNodeId(invNodeId).setNodeConnectorId(ncId).build(); rwTx.merge(LogicalDatastoreType.OPERATIONAL, IidFactory.endpointIid(endpoint.getKey()).augmentation(OfOverlayContext.class), newOfOverlayCtx); DataStoreHelper.submitToDs(rwTx); }  static Endpoint lookupEndpoint(EndpointKey epKey, ReadOnlyTransaction transaction); static void updateEndpointWithLocation(Endpoint endpoint, String nodeIdString, String nodeConnectorIdString,
            ReadWriteTransaction rwTx); static void updateEndpointRemoveLocation(Endpoint endpoint, ReadWriteTransaction rwTx);  }### Answer:
@Test public void testUpdateEndpointWithLocation() throws Exception { String nodeIdString = "nodeIdString"; String nodeConnectorIdString = "nodeConnectorIdString"; EndpointHelper.updateEndpointWithLocation(endpoint, nodeIdString, nodeConnectorIdString, writeTransaction); verify(submitFuture).checkedGet(); }