@Deployment
 public static Archive<?> createTestArchive() {
   return WarBuilder4LibCore.onWarForTestClass(PersonalizationRepositoryTest.class)
       .addJpaPersistenceFeatures()
       .testFocusedOn(
           (warBuilder) -> warBuilder.addPackages(true, "org.silverpeas.core.personalization"))
       .build();
 }
 @Deployment
 public static Archive<?> createTestArchive() {
   return WarBuilder4LibCore.onWarForTestClass(SocialNetworkServiceTest.class)
       .addJpaPersistenceFeatures()
       .addMavenDependencies(
           "org.springframework.social:spring-social-linkedin",
           "org.springframework.social:spring-social-facebook")
       .testFocusedOn(
           (warBuilder) -> {
             warBuilder.addPackages(true, "org.silverpeas.util.exception");
             warBuilder.addClasses(
                 OrganizationController.class,
                 Group.class,
                 ComponentInst.class,
                 SpaceInst.class,
                 UserFull.class,
                 ComponentInstLight.class,
                 SpaceInstLight.class,
                 UserDetailsSearchCriteria.class,
                 GroupsSearchCriteria.class,
                 ProfileInst.class,
                 ObjectType.class,
                 ComponentSearchCriteria.class,
                 SearchCriteria.class,
                 Domain.class,
                 CompoSpace.class,
                 ListSlice.class,
                 WAComponent.class,
                 OrganizationControllerMock.class,
                 OrganizationControllerProvider.class);
             warBuilder.testFocusedOn(
                 war ->
                     war.addPackages(true, "org.silverpeas.core.socialnetwork.service")
                         .addPackages(true, "org.silverpeas.core.socialnetwork.qualifiers")
                         .addPackages(true, "org.silverpeas.core.socialnetwork.connectors")
                         .addPackages(true, "org.silverpeas.core.socialnetwork.dao")
                         .addPackages(true, "org.silverpeas.core.socialnetwork.model"));
             warBuilder.addPackages(true, "org.silverpeas.core.i18n");
             warBuilder.addAsResource(
                 "org/silverpeas/social/settings/socialNetworkSettings.properties");
           })
       .build();
 }