public void GivenTheTeamHasTheFollowingSeasons(Table table) { var teams = TeamHelper.CreateFrom(table); var teamRepositoryStub = Ioc.Get <ITeamRepository>() as TeamRepositoryStub; teamRepositoryStub.Teams.AddRange(teams); }