public void ShouldNotValidateAddLocalEducationAgencyModelIfPassedWithExistingLeaEdOrgId()
        {
            // Arrange
            var existingLeaWithSameId = new LocalEducationAgency
            {
                EducationOrganizationId = Id
            };

            _mockOdsApiFacade.Setup(x => x.GetAllLocalEducationAgencies()).Returns(new List <LocalEducationAgency>
            {
                existingLeaWithSameId
            });

            var existingSchoolWithDifferentId = new School
            {
                EducationOrganizationId = 2
            };

            _mockOdsApiFacade.Setup(x => x.GetAllSchools()).Returns(new List <School>
            {
                existingSchoolWithDifferentId
            });

            _mockOdsApiFacadeFactory.Setup(x => x.Create())
            .Returns(Task.FromResult(_mockOdsApiFacade.Object));

            var validator = new AddLocalEducationAgencyModelValidator(_mockOdsApiFacadeFactory.Object);

            validator.ShouldNotValidate(_addLocalEducationAgencyModel, "This 'Local Education Organization ID' is already associated with another Education Organization. Please provide a unique value.");
        }
        public void ShouldNotValidateAddLocalEducationAgencyModelIfLocalEducationAgencyIdIsEmpty()
        {
            _addLocalEducationAgencyModel.LocalEducationAgencyId = null;
            var validator = new AddLocalEducationAgencyModelValidator(_mockOdsApiFacadeFactory.Object);

            validator.ShouldNotValidate(_addLocalEducationAgencyModel, "'Local Education Organization ID' must not be empty.");
        }