public void Should_Have_Error_When_CustomerId_Is_Null() { var deleteCustomerTokenRequest = new DeleteCustomerTokenRequest { CustomerId = null }; _validator.ShouldHaveValidationErrorFor(x => x.CustomerId, deleteCustomerTokenRequest); }
public void Should_Have_Error_When_AccountToken_Is_Null() { var deleteCustomerTokenRequest = new DeleteCustomerTokenRequest { AccountToken = null }; _validator.ShouldHaveValidationErrorFor(x => x.AccountToken, deleteCustomerTokenRequest); }