assertFalse(f.getId().equals("cpt-f002"));
assertTrue(f.getName().equals("TemplatePortlet"));
assertTrue(f.getType().equals(Fragment.PORTLET));
bf = (BaseFragmentElement)root.getFragments().get(1);
assertTrue(bf instanceof PageFragment);
PageFragment pf = (PageFragment)bf;
assertFalse(pf.getId().equals("cpt-f003"));
bf = (BaseFragmentElement)root.getFragments().get(2);
assertTrue(bf instanceof FragmentReference);
FragmentReference fr = (FragmentReference)bf;
assertFalse(fr.getId().equals("cpt-f004"));
assertTrue(fr.getRefId().equals("ctest001"));