public void JobPositionsList_CanBeRetrieved() { context.JobPositions.Add(new JobPosition { Name = "JobPosition" }); context.JobPositions.Add(new JobPosition { Name = "JobPosition2" }); context.SaveChanges(); var service = new JobPositionService(context); var jobPositions = service.GetJobPositionsList(); Assert.AreEqual(2, jobPositions.Count); }