private async Task AssertReceivedMakeUpdate(
     IPackageUpdater packageUpdater,
     int count)
 {
     await packageUpdater.Received(count)
     .MakeUpdatePullRequest(
         Arg.Any <IGitDriver>(),
         Arg.Any <PackageUpdateSet>(),
         Arg.Any <NuGetSources>(),
         Arg.Any <RepositoryData>());
 }
Esempio n. 2
0
 private static async Task AssertReceivedMakeUpdate(
     IPackageUpdater packageUpdater,
     int count)
 {
     await packageUpdater.Received(count)
     .MakeUpdatePullRequests(
         Arg.Any <IGitDriver>(),
         Arg.Any <RepositoryData>(),
         Arg.Any <IReadOnlyCollection <PackageUpdateSet> >(),
         Arg.Any <NuGetSources>(),
         Arg.Any <SettingsContainer>());
 }