public void Given_employee_is_not_in_list_when_RemoveEmployee_to_distribution_list_then_list_is_not_changed()
        {
            //GIVEN
            var site = new SiteStructureElementForTesting() { Id = 123123 };
            var employee = new Employee() { Id = Guid.NewGuid() };
            var accidentRecordNotificationMember = new AccidentRecordNotificationEmployeeMember
            {
                Deleted = false,
                Site = site,
                Employee = employee
            };
            site.ProtectedAccidentRecordNotificationMembers = new List<AccidentRecordNotificationMember>() { accidentRecordNotificationMember };

            //WHEN
            site.RemoveAccidentRecordNotificationMember(new Employee(){Id = Guid.NewGuid()}, new UserForAuditing());

            //THEN
            Assert.That(site.AccidentRecordNotificationMembers.Count, Is.EqualTo(1));
        }
        public void Given_employee_is_deleted_in_list_when_AddEmployee_to_distribution_list_then_employee_is_not_duplicated_and_undeleted()
        {
            //GIVEN
            var site = new SiteStructureElementForTesting() {Id = 123123};
            var employee = new Employee() {Id = Guid.NewGuid()};
            var accidentRecordNotificationMember = new AccidentRecordNotificationEmployeeMember
                                                       {
                                                           Deleted = true,
                                                           Site = site,
                                                           Employee = employee
                                                       };
            site.ProtectedAccidentRecordNotificationMembers = new List<AccidentRecordNotificationMember>(){accidentRecordNotificationMember};
            
            //WHEN
            site.AddAccidentRecordNotificationMember(employee, new UserForAuditing());

            //THEN
            Assert.That(site.ProtectedAccidentRecordNotificationMembers.Count, Is.EqualTo(1));
            Assert.That(site.AccidentRecordNotificationMembers[0].Deleted, Is.False);
        }