public void PackageExists_PackageIdentity_ReturnsTrueIfPackageDownloadMarkerFileExists(bool useSideBySidePaths)
        {
            using (var test = new FolderNuGetProjectTest(useSideBySidePaths))
            {
                test.CreatePackageDownloadMarkerFile();

                Assert.True(test.Project.PackageExists(test.PackageIdentity));
            }
        }
        public void GetPackageDownloadMarkerFilePath_ReturnsFilePathIfFileExists()
        {
            using (var test = new FolderNuGetProjectTest())
            {
                test.CreatePackageDownloadMarkerFile();

                var filePath = test.Project.GetPackageDownloadMarkerFilePath(test.PackageIdentity);

                Assert.NotNull(filePath);
                Assert.True(File.Exists(filePath));
            }
        }