public Validate_Should
 (
     AliceWebApplicationFactory aAliceWebApplicationFactory,
     JsonSerializerSettings aJsonSerializerSettings
 ) : base(aAliceWebApplicationFactory, aJsonSerializerSettings)
 {
     ReceiveInvitationRequestValidator = new ReceiveInvitationRequestValidator();
     ReceiveInvitationRequest          = CreateValidReceiveInvitationRequest();
 }
 public void Have_error_when_InvitationDetails_is_null()
 {
     ReceiveInvitationRequest.InvitationDetails = null;
     ReceiveInvitationRequestValidator
     .ShouldHaveValidationErrorFor
     (
         aReceiveInvitationRequest => aReceiveInvitationRequest.InvitationDetails,
         ReceiveInvitationRequest
     );
 }
        public void Be_Valid()
        {
            ValidationResult validationResult = ReceiveInvitationRequestValidator.TestValidate(ReceiveInvitationRequest);

            validationResult.IsValid.Should().BeTrue();
        }