### Question:
ObjectGraphUtils { public static Object getEntityId(String nodeId) { return nodeId.substring(nodeId.indexOf(Constants.NODE_ID_SEPARATOR) + 1, nodeId.length()); }  static String getNodeId(Object pk, Class<?> objectClass); static Object getEntityId(String nodeId); static boolean onAutoGenerateId(Field idField, Object idValue);  }### Answer:
@Test public void testGetEntityId() { nodeId = utils.getNodeId("1", PersonnelDTO.class); Object entityId = utils.getEntityId("com.impetus.kundera.entity.PersonnelDTO$1"); Assert.assertEquals("1", entityId.toString()); }