### Question:
TechId implements Serializable { public String toString() { return techName; } 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 public void testToString() { System.out.println("toString"); assertSame(techName, techId0.toString()); assertSame(techId2.techName, techId2.toString()); }