added id, groupid
[staff/due1/sed-hs15-srs-purple.git] / src / test / java / ch / bfh / ti / srs / dataschema / ResourceTest.java
index b0e44f5..73af912 100644 (file)
@@ -8,6 +8,7 @@
 package ch.bfh.ti.srs.dataschema;\r
 \r
 import static org.junit.Assert.assertEquals;\r
+import static org.junit.Assert.assertNotEquals;\r
 \r
 import org.junit.Test;\r
 \r
@@ -18,6 +19,7 @@ public class ResourceTest {
        @Test\r
        public void createResurceTest() throws Exception {\r
                Resource testResource = new Resource("N321", "class room");\r
+               assertNotEquals(null, testResource.getId());\r
                assertEquals("N321", testResource.getName());\r
                assertEquals("class room", testResource.getType());\r
        }\r