@@ -0,0 +1,870 @@
+package be.shoktan.BeeBreedingManager.model;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A/**%0A * test class for the Group model%0A * @author Wisthy%0A *%0A */%0Apublic class GroupTest %7B%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%7D%0A%0A%09@Test%0A%09public void testEmptyIterator() %7B%0A%09%09Group group = new Group();%0A%09%09int i = 0;%0A%09%09for(Specification s : group)%7B%0A%09%09%09i++;%0A%09%09%7D%0A%09%09assertEquals(0, i);%0A%09%7D%0A%09%0A%09%0A%09@Test%0A%09public void testIterator()%7B%0A%09%09Group group = new Group();%0A%09%09group.addMember(new Specie());%0A%09%09%0A%09%09Specie specie2 = new Specie();%0A%09%09specie2.setName(%22koin%22);%0A%09%09specie2.addGroup(group);%0A%09%09group.addMember(specie2, false);%0A%09%09group.addMember(specie2, false);%0A%09%09%0A%09%09Group group2 = new Group();%0A%09%09group2.addMember(specie2);%0A%09%09group2.addMember(new Group());%0A%09%09%0A%09%09int i = 0;%0A%09%09for(Specification s : group)%7B%0A%09%09%09i++;%0A%09%09%7D%0A%09%09assertEquals(2, i);%0A%09%7D%0A%0A%7D%0A

Create GroupTest.java