Constructing the real code

If we reuse the CreateCustomer and SetCustomerCategoryOnCustomer functions from test example 1, we only need to create two new helper functions:

  • CreateBlockedCustomerCategory
  • VerifyBlockedCategoryErrorThrown

Let's learn more about them both next.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.29.209