@Test
 public void testImageForPackageFragmentRootElement() throws JavaModelException {
   List<IPackageFragmentRoot> roots = JdtUtils.getSourceFolders(javaProject);
   Image test = labelProvider.getImage(roots.get(0));
   Image control = JavaPluginImages.DESC_OBJS_PACKFRAG_ROOT.createImage();
   byte[] controlData = control.getImageData().data;
   byte[] testData = test.getImageData().data;
   for (int i = 0; i < testData.length; i++) {
     Assert.assertEquals("Wrong result", controlData[i], testData[i]);
   }
   test.dispose();
   control.dispose();
 }
 @Test
 public void testGetTextForPackageFragmentRootElement() throws JavaModelException {
   List<IPackageFragmentRoot> roots = JdtUtils.getSourceFolders(javaProject);
   Assert.assertEquals(
       "Wrong result", "/tapestry5-sample/src/main/java", labelProvider.getText(roots.get(0)));
 }