@@ -0,0 +1,1832 @@
+package checkpoint.andela.readersclub;%0A%0Aimport checkpoint.andela.members.*;%0Aimport org.junit.Test;%0A%0Aimport static junit.framework.Assert.assertEquals;%0A%0A/**%0A * Created by Semiu on 05/12/2015.%0A */%0Apublic class ComparatorInterfaceTest %7B%0A  Staff staff0 = new Staff();%0A  Staff staff1 = new Staff();%0A  %7B%0A    try %7B%0A      Thread.sleep(500);%0A    %7D catch (InterruptedException e) %7B%0A      Thread.currentThread().interrupt();%0A    %7D%0A  %7D%0A  Staff staff2 = new Staff();%0A  Student student1 = new Student();%0A  %7B%0A    try %7B%0A      Thread.sleep(500);%0A    %7D catch (InterruptedException e) %7B%0A      Thread.currentThread().interrupt();%0A    %7D%0A  %7D%0A  Student student2 = new Student();%0A  Student student3 = new Student();%0A  ComparatorInterface myComparator = new ComparatorInterface();%0A%0A  // Test that it returns -1 if the first member has higher%0A  // precedence over the second member%0A  @Test%0A  public void testCompare() throws Exception %7B%0A    assertEquals(myComparator.compare(staff1, staff2), -1);%0A    assertEquals(myComparator.compare(staff1, student1), -1);%0A    assertEquals(myComparator.compare(staff2, student1), -1);%0A    assertEquals(myComparator.compare(student1, student2), -1);%0A  %7D%0A%0A  // Test that it returns 1 if the second member has higher%0A  // precedence over the first member%0A  @Test%0A  public void testCompare2() throws Exception %7B%0A    assertEquals(myComparator.compare(staff2, staff1), 1);%0A    assertEquals(myComparator.compare(student3, staff1), 1);%0A    assertEquals(myComparator.compare(student1, staff2), 1);%0A    assertEquals(myComparator.compare(student2, student1), 1);%0A  %7D%0A%0A  // Test that it returns 0%0A  // if the two members are equal in status and rank.%0A  @Test%0A  public void testCompare3() throws Exception %7B%0A    assertEquals(myComparator.compare(staff0, staff1), 0);%0A    assertEquals(myComparator.compare(student2, student3), 0);%0A  %7D%0A%7D

Update The Comparator Interface Test