public void NewJobGenerator_HasNoJobs() { //Act IJobsGenerator jobGenerator = new JobsGenerator(); //Assert Assert.AreEqual(0, jobGenerator.Jobs.Count); }
public void AddJobs_AddsCorrectNumberOfJobs() { //Test data var numberOfJobs = 6; //Arrange IJobsGenerator jobGenerator = new JobsGenerator(); //Act jobGenerator.AddJobs(numberOfJobs); //Assert Assert.AreEqual(numberOfJobs, jobGenerator.Jobs.Count); }