Exemplo n.º 1
0
            public void Should_Have_Error_When_MerchantKey_Is_Null()
            {
                var getCustomerTokensRequest = new GetCustomerTokensRequest
                {
                    MerchantKey = null
                };

                _validator.ShouldHaveValidationErrorFor(x => x.MerchantKey, getCustomerTokensRequest);
            }
Exemplo n.º 2
0
            public void Should_Have_Error_When_IDTransaction_Is_Null()
            {
                var getCustomerTokensRequest = new GetCustomerTokensRequest
                {
                    CustomerId = null
                };

                _validator.ShouldHaveValidationErrorFor(x => x.CustomerId, getCustomerTokensRequest);
            }