Basically, if a non-public member is mocked (like SendAsync() on HttpClient), and no expectation is found, GetMemberDescription() won't find the member because the GetMembers() call is only looking for public members. The bug isn't severe, it just ends up that no description is in the message for the thrown ExpectedException.
Basically, if a non-public member is mocked (like
SendAsync()
onHttpClient
), and no expectation is found,GetMemberDescription()
won't find the member because theGetMembers()
call is only looking for public members. The bug isn't severe, it just ends up that no description is in the message for the thrownExpectedException
.