Version: 6.X
Unit Testing
The modular structure of the library makes it easy to mock the API when unit testing. Consider the following method:
Using Moq
, this can be tested without doing any network requests:
The modular structure of the library makes it easy to mock the API when unit testing. Consider the following method:
Using Moq
, this can be tested without doing any network requests: