### Question:
IdManager { public synchronized CellId getCellId(int cellIndex) { return cellIds.get(cellIndex); } IdManager(); void setReadOnly(); synchronized TechId newTechId(String techName); synchronized TechId getTechId(int techIndex); synchronized LibId newLibId(String libName); synchronized LibId getLibId(int libIndex); synchronized CellId getCellId(int cellIndex); TechPool getInitialTechPool(); Environment getInitialEnvironment(); Snapshot getInitialSnapshot(); int newSnapshotId(); void checkInvariants(); void dump(); static final IdManager stdIdManager; }### Answer:
@Test public void testGetCellId() { System.out.println("getCellId"); assertSame(cellId1, idManager.getCellId(1)); CellName cellName2 = CellName.parseName("cell2;1{sch}"); CellName cellName3 = CellName.parseName("cell3;1{sch}"); CellName cellName4 = CellName.parseName("cell4;1{sch}"); CellName cellName5 = CellName.parseName("cell5;1{sch}"); CellId cellId2 = libId1.newCellId(cellName2); CellId cellId3 = libId1.newCellId(cellName3); CellId cellId4 = libId1.newCellId(cellName4); CellId cellId5 = libId1.newCellId(cellName5); assertSame(cellId1, idManager.getCellId(1)); assertSame(cellId4, idManager.getCellId(4)); assertSame(cellId5, idManager.getCellId(5)); }