}
@Test
public void Test_NEXUS_5995() throws IOException, NoSuchRepositoryException {
P2MetadataGeneratorConfiguration config = mock(P2MetadataGeneratorConfiguration.class);
when(config.repositoryId()).thenReturn("mockId");
Repository repo = mock(Repository.class);
DefaultFSLocalRepositoryStorage local = mock(DefaultFSLocalRepositoryStorage.class);
when(local.getFileFromBase(any(Repository.class), any(ResourceStoreRequest.class))).thenReturn(tempFile);
when(repo.getLocalStorage()).thenReturn(local);
when(repo.getId()).thenReturn("mockId");