Abhishek Anand
3 posts.
- Unit tests for HttpClient using HttpMessageHandlerYou can unit test a class that uses HttpClient by giving that HttpClient a mock HttpMessageHandler. This way, you can capture the request and prevent it…
- Properties vs. MethodsOne of the decisions a developer needs to make while designing a class is when to use a property and when to use a method. Methods typically represent an…
- Test Initialize vs. Class InitializeOne common oversight we have encountered while working with developers is the mix up of the \[TestInitialize\] and \[ClassInitialize\] Attributes. When…
