public virtual void testStatisticsMostExecutionJobsGenerated() { // given var batch = helper.CreateMigrationBatchWithSize(13); // when helper.ExecuteJob(helper.GetSeedJob(batch)); // then var batchStatistics = managementService.CreateBatchStatisticsQuery() .First(); Assert.AreEqual(13, batchStatistics.TotalJobs); Assert.AreEqual(10, batchStatistics.JobsCreated); Assert.AreEqual(13, batchStatistics.RemainingJobs); Assert.AreEqual(0, batchStatistics.CompletedJobs); Assert.AreEqual(0, batchStatistics.FailedJobs); }