public async Task Then_If_All_Required_Fields_Are_Populated_Then_Request_Is_Valid(
            CreateShortlistItemForUserRequest request,
            CreateShortlistItemForUserValidator validator)
        {
            //Act
            var actual = await validator.ValidateAsync(request);

            //Assert
            actual.IsValid().Should().BeTrue();
        }
        public async Task Then_If_The_SubjectSectorArea_Is_Null_Then_The_Request_Is_Invalid(
            CreateShortlistItemForUserRequest request,
            CreateShortlistItemForUserValidator validator)
        {
            //Arrange
            request.SectorSubjectArea = null;

            //Act
            var actual = await validator.ValidateAsync(request);

            //Assert
            actual.IsValid().Should().BeFalse();
            actual.ValidationDictionary.Should().ContainKey(nameof(request.SectorSubjectArea));
        }
        public async Task Then_If_The_ProviderUkprn_Is_Zero_Then_The_Request_Is_Invalid(
            CreateShortlistItemForUserRequest request,
            CreateShortlistItemForUserValidator validator)
        {
            //Arrange
            request.Ukprn = 0;

            //Act
            var actual = await validator.ValidateAsync(request);

            //Assert
            actual.IsValid().Should().BeFalse();
            actual.ValidationDictionary.Should().ContainKey(nameof(request.Ukprn));
        }
        public async Task Then_If_The_ShortlistId_Is_Empty_Guid_Then_The_Request_Is_Invalid(
            CreateShortlistItemForUserRequest request,
            CreateShortlistItemForUserValidator validator)
        {
            //Arrange
            request.ShortlistUserId = Guid.Empty;

            //Act
            var actual = await validator.ValidateAsync(request);

            //Assert
            actual.IsValid().Should().BeFalse();
            actual.ValidationDictionary.Should().ContainKey(nameof(request.ShortlistUserId));
        }