public void CreateAutoGeneratedFixtureRoundRobin() { login.CreateSession("sSanchez", "user"); FixtureServices fixtureServices = new FixtureServices(login, encounterRepo, sportRepo, teamRepo, assemblyLoader, commentRepo); fixtureServices.CreateFixture("RoundRobin", "Futbol", new DateTime(3000, 10, 10)); IEnumerable <Encounter> expected = new RoundRobin().GenerateFixture(teamRepo.GetAll(), new DateTime(3000, 10, 10)); IEnumerable <Encounter> actual = encounterRepo.GetAll(); Assert.AreEqual(expected.Count(), actual.Count()); }