예제 #1
0
 public void CreateMeeting()
 {
     IPlaceRepository plRep = DataGenerator.GetPlaceRepositoryMock();
     MeetingRepository mr = new MeetingRepository(plRep);
     Meeting meet = DataGenerator.GenerateMeet();
     mr.Create(meet);
 }
예제 #2
0
 public void ExistTest()
 {
     IPlaceRepository plRep = DataGenerator.GetPlaceRepositoryMock();
     MeetingRepository mr = new MeetingRepository(plRep);
     Meeting meet = DataGenerator.GenerateMeet();
     mr.Exist(meet.idMeet);
 }
예제 #3
0
 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());
 }