public void IsExistInvitation_ShouldExist()
        {
            //arange
            PlaceRepository placeRep = new PlaceRepository(Properties.Resources.ConnectionString);
            MeetingRepository meetRep = new MeetingRepository(Properties.Resources.ConnectionString);
            UserRepository userRep = new UserRepository(Properties.Resources.ConnectionString);
            InvitationRepository inviteRep = new InvitationRepository(Properties.Resources.ConnectionString);

            Meeting meeting = TestDataHelper.GenerateMeeting();
            User invitedUser = TestDataHelper.GenerateUser();

            meeting.InvitedPeople.Clear();

            //act
            userRep.CreateUser(meeting.Owner);
            placeRep.CreatePlace(meeting.Place);
            meetRep.CreateMeeting(meeting);
            userRep.CreateUser(invitedUser);

            inviteRep.Create(CreateInvitation(meeting, invitedUser));

            //assert
            Assert.IsTrue(inviteRep.IsExist(CreateInvitation(meeting, invitedUser)));
        }
        public void IsExistInvitation_ShouldNotExist()
        {
            //arange
            InvitationRepository inviteRep = new InvitationRepository(Properties.Resources.ConnectionString);

            Meeting meeting = TestDataHelper.GenerateMeeting();
            User invitedUser = TestDataHelper.GenerateUser();

            //act

            //assert
            Assert.IsFalse(inviteRep.IsExist(CreateInvitation(meeting, invitedUser)));
        }