public void TestGetJobCountReturnCorrectResult() { // Arrange _schedulerCore.CreateJob("TestJob1", string.Empty, typeof(NoOpJob), new Dictionary <string, object>(), string.Empty); _schedulerCore.CreateJob("TestJob2", string.Empty, typeof(NoOpJob), new Dictionary <string, object>(), string.Empty); // Act var result = _analytics.GetJobCount(); // Assert Assert.Equal(2, result); }
public int GetJobCount() { Logger.Debug("Entered AnalyticsController.GetJobCount()."); return(_analytics.GetJobCount()); }