public TestFiltreClub() { this.club1 = new Club( "LIFB.93.05.025", new Club.ChampsPoona( new Adresse(), "Association Badminton Seine St Denis", "APSAD93", "Bobigny", "93000", "Foo Bar", true, "", "", "", "" ) ); this.club2 = new Club( "LIFB.93.98.018", new Club.ChampsPoona( new Adresse(), "Athletic Club De Bobigny", "ACB", "Bobigny", "93000", "John Doe", false, "", "", "", "" ) ); this.club3 = new Club( "LIFB.93.06.040", new Club.ChampsPoona( new Adresse(), "Association Badminton Romainvillois", "ABR", "Romainville", "93230", "John Doe", false, "", "", "", "" ) ); var mockRepertoireClub = new Mock <IRepertoireClubs>(); mockRepertoireClub .Setup(x => x.ObtenirTousLesClubs()) .Returns(new List <Club> { club1, club2, club3 }); var mockFrontierePersistence = new Mock <IFrontierePersistance>(); mockFrontierePersistence .Setup(x => x.RepertoireClubs) .Returns(mockRepertoireClub.Object); this.filtreClub = new FrontiereCobad(mockFrontierePersistence.Object, new Mock <IAccesseurPoona>().Object, new Mock <IImporteurDeCompetition>().Object).GestionaireClubs.ObtenirFiltreDeClub(); }
public int Run(IFiltreClub filtreDeClub) { throw new NotImplementedException(); }