when(mockRepoFolder.isDirectory()).thenReturn(true);
when(mockRepoFolder.getName()).thenReturn(repoName);
when(mockRepoFolder.listFiles()).thenReturn(new File[0]);
//create object to test and inject required dependencies
DiskSource objectUnderTest = new DiskSource();
//run methods under test
objectUnderTest.initialize(mockConfiguration);
objectUnderTest.synchronizePackages(repoName, mockPackageSyncReport, mockCollection);
//verify the results (Assert and Mock Verification)
verify(mockPackageSyncReport, never()).addUpdatedPackage(any(ContentProviderPackageDetails.class));
verify(mockPackageSyncReport, never()).addNewPackage(any(ContentProviderPackageDetails.class));
verify(mockConfiguration, times(2)).get(anyString());