/**
  * Tests if component gets properly created in the repository.
  *
  * @throws Exception If anything unexpected happens
  */
 @Test
 public void testCreateJournalFooterComponent() throws Exception {
   // create component
   JournalFooter comp = componentAuthorClient.addComponent(JournalFooter.class, ROOT_PAGE_HANDLE);
   // check for correct component path
   Assert.assertEquals(
       "Journal Footer component path is wrong.",
       ROOT_PAGE_HANDLE + JournalFooter.DEFAULT_LOCATION + comp.getName(),
       comp.getComponentPath());
   // verify basic node properties
   FoundationAssert.assertValidComponentNode(comp);
 }
 /**
  * Tests if component gets properly created in the repository.
  *
  * @throws Exception If anything unexpected happens
  */
 @Test
 public void testCreateFacebookProfileDataComponent() throws Exception {
   // create component
   FacebookProfile comp =
       componentAuthorClient.addComponent(FacebookProfile.class, ROOT_PAGE_HANDLE);
   // check for correct component path
   Assert.assertEquals(
       "Facebook Profile component path is wrong.",
       ROOT_PAGE_HANDLE + FacebookProfile.DEFAULT_LOCATION + comp.getName(),
       comp.getComponentPath());
   // verify basic node properties
   FoundationAssert.assertValidComponentNode(comp);
 }