### Question:
CellId implements NodeProtoId, Serializable { void check() { checkLinked(); assert idManager == libId.idManager; cellName.check(); assert cellName.getVersion() > 0; assert libId.getCellId(cellName) == this; CellUsage[] usagesIn = this.usagesIn; for (int k = 0; k < usagesIn.length; k++) { CellUsage u = usagesIn[k]; assert u.parentId == this; assert u.indexInParent == k; assert u.protoId.getIdManager() == getIdManager(); u.protoId.checkLinked(); u.check(); } checkHashUsagesIn(); checkHashExportIds(); CellUsage[] usagesOf = this.usagesOf; for (int k = 0; k < usagesOf.length; k++) { CellUsage u = usagesOf[k]; assert u.protoId.getIdManager() == getIdManager(); u.parentId.checkLinked(); assert u == u.parentId.usagesIn[u.indexInParent]; } int numExportIds = this.numExportIds; for (int chronIndex = 0; chronIndex < numExportIds; chronIndex++) { ExportId e = exportIds[chronIndex]; assert e.parentId == this; assert e.chronIndex == chronIndex; assert newExportId(e.externalId, false) == e; e.check(); } } CellId(LibId libId, CellName cellName, int cellIndex); IdManager getIdManager(); int numUsagesIn(); CellUsage getUsageIn(int i); int numUsagesOf(); CellUsage getUsageOf(int i); CellUsage getUsageIn(CellId protoId); int numExportIds(); ExportId getPortId(int chronIndex); ExportId newPortId(String externalId); ExportId randomExportId(String suggestedId); int newNodeId(); int newArcId(); Cell inDatabase(EDatabase database); String toString(); boolean isIcon(); boolean isSchematic(); static void main(String[] args); static final CellId[] NULL_ARRAY; final IdManager idManager; final LibId libId; final CellName cellName; final int cellIndex; }### Answer:
@Test public void testCheck() { System.out.println("check"); CellId instance = cellId1; instance.check(); }