public void CreateMeeting() { IPlaceRepository plRep = DataGenerator.GetPlaceRepositoryMock(); MeetingRepository mr = new MeetingRepository(plRep); Meeting meet = DataGenerator.GenerateMeet(); mr.Create(meet); }
public void ExistTest() { IPlaceRepository plRep = DataGenerator.GetPlaceRepositoryMock(); MeetingRepository mr = new MeetingRepository(plRep); Meeting meet = DataGenerator.GenerateMeet(); mr.Exist(meet.idMeet); }
public void ChangeDataTimeTest() { IPlaceRepository plRep = DataGenerator.GetPlaceRepositoryMock(); MeetingRepository mr = new MeetingRepository(plRep); Meeting meet = new Meeting() { idMeet = 1, place = 1, dateMeet = new DateTime(), }; mr.ChangeDateTime(meet, new DateTime()); }