}
}
@Test
public void test_Model_setgetModelHistory() {
History history = new History();
Creator mc = new Creator();
Date date = Calendar.getInstance().getTime();
mc.setFamilyName("Keating");
mc.setGivenName("Sarah");
mc.setEmail("sbml-team@caltech.edu");
mc.setOrganisation("UH");
history.addCreator(mc);
history.setCreatedDate(date);
history.setModifiedDate(date);
assertTrue(M.isSetHistory() == false);
M.setHistory(history);
assertTrue(M.isSetHistory() == true);
Creator newMC = history.getCreator(0);
assertTrue(newMC != null);
assertTrue(newMC.getFamilyName().equals("Keating"));
assertTrue(newMC.getGivenName().equals("Sarah"));
assertTrue(newMC.getEmail().equals("sbml-team@caltech.edu"));
assertTrue(newMC.getOrganisation().equals("UH"));