Serializable expid = getDataStorage().setExperimentID(uid);
long mid = 987987;
String version = "AlphaBetaGamma123";
JavaInfo ji1 = new JavaInfo();
getDataStorage().writeExperimentSystemInformation(uid, mid, version, ji1);
SystemInformation si =
getDataStorage().getExperimentSystemInformation(expid);
// go through the attributes of the SystemInformation items:
assertEquals(mid, si.getMachineId());
assertEquals(version, si.getJamesVersion());
JavaInfo ji2 = si.getJavaInfo();
assertEquals(ji1.getName(), ji2.getName());
assertEquals(ji1.getVersion(), ji2.getVersion());
assertEquals(ji1.getVendor(), ji2.getVendor());
assertEquals(ji1.getInstDir(), ji2.getInstDir());
assertEquals(ji1.getClassFormatVersion(), ji2.getClassFormatVersion());