Beispiel #1
0
        public void Pass_Has_Payment_Id()
        {
            var request = new GetPaymentDetailsRequest
            {
                PaymentId = 1
            };
            var validator = new GetPaymentDetailsValidator();

            validator.ShouldNotHaveValidationErrorFor(r => r.PaymentId, request);
        }
Beispiel #2
0
        public void Pass_Has_Owner()
        {
            var request = new GetPaymentDetailsRequest
            {
                Owner = "owner"
            };

            var validator = new GetPaymentDetailsValidator();

            validator.ShouldNotHaveValidationErrorFor(r => r.Owner, request);
        }