### Question:
OvsdbManagersUpdateCommand extends AbstractTransactionCommand { private Map<Uri, Manager> getUriManagerMap(Map<UUID,Manager> uuidManagerMap) { Map<Uri, Manager> uriManagerMap = new HashMap<>(); for (Map.Entry<UUID, Manager> uuidManagerMapEntry : uuidManagerMap.entrySet()) { uriManagerMap.put( new Uri(uuidManagerMapEntry.getValue().getTargetColumn().getData()), uuidManagerMapEntry.getValue()); } return uriManagerMap; } OvsdbManagersUpdateCommand(OvsdbConnectionInstance key,
            TableUpdates updates, DatabaseSchema dbSchema); @Override void execute(ReadWriteTransaction transaction);  }### Answer:
@SuppressWarnings("unchecked") @Test public void testGetUriManagerMap() throws Exception { Map<UUID,Manager> uuidManagerMap = new HashMap<>(); Manager manager = mock(Manager.class); uuidManagerMap.put(mock(UUID.class), manager); Column<GenericTableSchema, String> column = mock(Column.class); when(manager.getTargetColumn()).thenReturn(column); when(column.getData()).thenReturn(TARGET_COLUMN_DATA); Uri uri = mock(Uri.class); PowerMockito.whenNew(Uri.class).withAnyArguments().thenReturn(uri); Map<Uri, Manager> testUriManagerMap = new HashMap<>(); testUriManagerMap.put(uri, manager); assertEquals(testUriManagerMap, Whitebox.invokeMethod(ovsdbManagersUpdateCommand, "getUriManagerMap", uuidManagerMap)); }