public async Task ThenActivateUserCommandValidatorIsCalled()
        {
            //Act
            await _handler.Handle(_command);

            //Assert
            _activateUserCommandValidator.Verify(x => x.ValidateAsync(It.Is <ActivateUserCommand>(c => c.UserId == UserId && c.AccessCode == AccessCode)), Times.Once);
        }
        public async Task Then_The_Command_Is_Handled_And_Endpoint_Called(
            ActivateUserCommand command,
            [Frozen] Mock <IApimDeveloperApiClient <ApimDeveloperApiConfiguration> > apimDeveloperApiClient,
            ActivateUserCommandHandler handler)
        {
            await handler.Handle(command, CancellationToken.None);

            apimDeveloperApiClient.Verify(x => x.Put(It.Is <PutUpdateUserRequest>(c =>
                                                                                  c.PutUrl.Contains(command.Id.ToString()) &&
                                                                                  ((UserRequestData)c.Data).State.Equals(1)
                                                                                  )), Times.Once);
        }