assertEquals(0, changeDescription.getObjectChanges().size()); assertEquals(0, changeDescription.getObjectsToAttach().size());
  protected void applyCheck(ChangeDescription changeDescription, List beforeChange, boolean initialListAreDifferent)  {    if (initialListAreDifferent)    {      //Tests if the lists are different      assertFalse(EMFTestCorePlugin.areEqual(beforeChange, eAnnotation.getContents()));    }    else    {      //Tests if the lists are equal      assertTrue(EMFTestCorePlugin.areEqual(beforeChange, eAnnotation.getContents()));          }        changeDescription.apply();         //Tests if the change description was reset    assertEquals(0, changeDescription.getObjectChanges().size());    assertEquals(0, changeDescription.getObjectsToAttach().size());        //Tests if the list was rolled back    assertTrue(EMFTestCorePlugin.areEqual(beforeChange, eAnnotation.getContents()));          }  