我需要对使用RequestToken
和扩展方法HttpClient
的{{1}}方法进行单元测试。
即使将RequestPasswordTokenAsync
传递给null
,我也有delegatingHandler
引用异常。
HttpClient
答案 0 :(得分:0)
I have to write a wrapper around HttpClient.
If there are a better solution, please post it here