doReturn(MOCK_REPO_ID).when(group).getPathPrefix();
repositoryRegistry = Mockito.mock(RepositoryRegistry.class);
doReturn(repository).when(repositoryRegistry).getRepository(MOCK_REPO_ID);
doReturn(group).when(repositoryRegistry).getRepository(MOCK_GROUP_ID);
Mockito.doThrow(new NoSuchRepositoryException(NOT_FOUND_REPO_ID))
.when(repositoryRegistry).getRepository(NOT_FOUND_REPO_ID);
Set<RepositoryTypeDescriptor> typeDescriptors = new HashSet<>();
RepositoryTypeDescriptor myHintRtd;
RepositoryTypeDescriptor invalidRtd;