public virtual void testStatisticsAllExecutionJobsGenerated() { // given var batch = helper.CreateMigrationBatchWithSize(3); // when helper.CompleteSeedJobs(batch); // then var batchStatistics = managementService.CreateBatchStatisticsQuery() .First(); Assert.AreEqual(3, batchStatistics.TotalJobs); Assert.AreEqual(3, batchStatistics.JobsCreated); Assert.AreEqual(3, batchStatistics.RemainingJobs); Assert.AreEqual(0, batchStatistics.CompletedJobs); Assert.AreEqual(0, batchStatistics.FailedJobs); }