Ejemplo n.º 1
0
 void StoreSetupWithCommits()
 {
     _store.GetNextBatch(Arg.Any <ReadModelGenerationConfig>(), Arg.Any <ProcessedCommitsCount>())
     .Returns(new CommittedEvents(Setup.Commits(4).ToArray()));
 }
Ejemplo n.º 2
0
 public static CommittedEvents CommittedEvents <T, V>(int count) where T : class, new() where V : class, new()
 => new CommittedEvents(Setup.Commits <T, V>(count).ToArray());