public void Validate_WhenValidatingEmployerAccountId_ThenShouldRejectNonPositiveNumbers(long accountId, bool expectToBeValid)
        {
            // arrange
            var validator = new GetProviderPaymentsPriorityQueryValidator();

            // act
            var request = new GetProviderPaymentsPriorityQuery(accountId);

            // assert
            if (expectToBeValid)
            {
                validator.ShouldNotHaveValidationErrorFor(r => r.EmployerAccountId, request, null);
            }
            else
            {
                validator.ShouldHaveValidationErrorFor(r => r.EmployerAccountId, request, null);
            }
        }
        public Task <GetProviderPaymentsPriorityQueryResult> Handle(long accountId)
        {
            var query = new GetProviderPaymentsPriorityQuery(accountId);

            return(Handler.Handle(query, CancellationToken.None));
        }