@@ -0,0 +1,1045 @@
+package ca.corefacility.bioinformatics.irida.ria.unit.web.models;%0A%0Aimport java.util.Date;%0A%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport ca.corefacility.bioinformatics.irida.ria.web.models.IridaBase;%0A%0Aimport static org.junit.jupiter.api.Assertions.assertEquals;%0A%0Aclass IridaBaseTest %7B%0A%09private final Long id = 1L;%0A%09private final String key = %22pro-%22;%0A%09private final String name = %22ITEM NAME%22;%0A%09private final Date createdDate = new Date(1590160849L);%0A%09private final Date modifiedDate = new Date(1653232849L);%0A%0A%09@Test%0A%09public void testIridaBase() %7B%0A%09%09IridaBase iridaBase = new IridaBase(id, key, name, createdDate, modifiedDate);%0A%09%09assertEquals(id, iridaBase.getId(), %22Id should not be changed%22);%0A%09%09assertEquals(key + id, iridaBase.getKey(), %22Key should be concatenated with id%22);%0A%09%09assertEquals(name, iridaBase.getName(), %22Name should not be changed%22);%0A%09%09assertEquals(createdDate, iridaBase.getCreatedDate(), %22Created date should not be changed%22);%0A%09%09assertEquals(modifiedDate, iridaBase.getModifiedDate(), %22Modified date should not be changed%22);%0A%09%7D%0A%7D

Test for IridaBase.java