### Question:
TechId implements Serializable { synchronized ArcProtoId getArcProtoId(int chronIndex) { return arcProtoIds.get(chronIndex); } TechId(IdManager idManager, String techName, int techIndex); synchronized LayerId newLayerId(String layerName); synchronized ArcProtoId newArcProtoId(String arcProtoName); synchronized PrimitiveNodeId newPrimitiveNodeId(String primitiveNodeName); Technology inDatabase(EDatabase database); String toString(); static boolean jelibSafeName(String str); static final TechId[] NULL_ARRAY; final IdManager idManager; final String techName; final int techIndex; }### Answer:
@Test(expected = IndexOutOfBoundsException.class) public void getArcProtoIdBad() { System.out.println("getArcProtoId bad"); techId0.getArcProtoId(2); }