* the exception
*/
public void testExperimentInfo() throws Exception {
Serializable expid =
getDataStorage().setExperimentID(UniqueIDGenerator.createUniqueID());
ExperimentInfo ei1 = new ExperimentInfo(new URI("uri1"), new URI("uri2"));
ei1.setDescription("nappinappiger nappinap");
getDataStorage().writeExperimentInformation(expid, ei1);
ExperimentInfo ei2 = getDataStorage().getExperimentInformation(expid);
// go through the attributes of the experiment items:
assertEquals(ei1.getDataBase(), ei2.getDataBase());
assertEquals(ei1.getDescription(), ei2.getDescription());
assertEquals(ei1.getIdent(), ei2.getIdent());
// now let's have a look on ExperimentItems being null:
expid =
getDataStorage().setExperimentID(UniqueIDGenerator.createUniqueID());
getDataStorage().writeExperimentInformation(expid, null);
assertNull(getDataStorage().getExperimentInformation(expid));