code: private DirectoryService createDirectoryService() {
  
          final DirectoryServiceFactory factory = new DefaultDirectoryServiceFactory();
          try {
              factory.init("scribble");
              return factory.getDirectoryService();
          } catch (Exception e) { //NOSONAR
  
              throw new AssertionError("Unable to create directory service", e);
          }
      }
docs: Creates a new DirectoryService instance for the test rule. Initialization of the service is done in the
  apply Statement phase by invoking the setupService method.