/** * Returns the repository service instance to test. * @return the repository service instance to test. * @throws RepositoryException if the repository could not be obtained. */ public RepositoryService getRepositoryService() throws RepositoryException { if (repoServiceStub == null) { repoServiceStub = RepositoryServiceStub.getInstance(configuration); } return repoServiceStub.getRepositoryService(); }