public RegistrationParticipantController( IInfoAboutParticipant iinfoParticipant, IOfficeEntities iOfficeEntities, IStoredProcedures istoredP ) { this.iinfoParticipant = iinfoParticipant; this.ikartoteka2 = new Kartoteka2Info(); this.idystans = new DystansFiltr(); this.iOfficeEntities = iOfficeEntities; this.istoredP = istoredP; this.icheck = new CheckWerification(); this.inewRec = new NewRecord(); this.iaddZaw = new AddZawodnik(icheck); this.iplayer = new PlayerVerification(); this.isimpleAdd = new SimpleAddingParticipant(inewRec, iaddZaw, iplayer); this.ireport = new ParticipantResult(); this.iresultParticipant = new ParticipantResultList(); }
public TestSimpleAddingParticipant() { isimpleAdd_true = new SimpleAddingParticipant(new NewRecord_Fake(), new AddZawodnik_Fake(), new PlayerVerfication_Fake()); }