@@ -0,0 +1,823 @@
+package be.shoktan.BeeBreedingManager.model;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class SpecificationTest %7B%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%7D%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09Specification group = new Group();%0A%09%09group.setName(%22a%22);%0A%09%09%0A%09%09Specification spec = new Specie();%0A%09%09spec.setName(%22b%22);%0A%09%09%0A%09%09assertTrue(spec.compareTo(group) %3C 0); %0A%09%09assertTrue(spec.compareTo(spec) == 0); %0A%09%09assertTrue(group.compareTo(group) == 0); %0A%09%09assertTrue(group.compareTo(spec) %3E 0); %0A%09%09%0A%09%09Specification spec2 = new Specie();%0A%09%09spec2.setName(%22c%22);%0A%09%09assertTrue(spec2.compareTo(spec2) == 0); %0A%09%09%0A%09%09assertTrue(spec2.getType().compareTo(spec.getType()) == 0);%0A%09%09assertTrue(spec2.getName().compareTo(spec.getName()) %3E 0);%0A%09%09%0A%09%09assertTrue(spec2.compareTo(spec) %3E 0); %0A%09%7D%0A%0A%7D%0A

Create SpecificationTest.java