[BUG] Azure.Communication.Chat is not mockable #46283
Labels
Client
This issue points to a problem in the data-plane of the library.
Communication
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
Workflow: The Azure SDK team believes it to be addressed and ready to close.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Library name and version
Azure.Communication.Chat 1.3.1
Describe the bug
The Azure Communication Chat library is not mockable.
Especially for a service that I cannot emulate locally, I need to be able to mock out the interactions with it.
Expected behavior
I would expect the library to adhere to the design guidlines for testability:
https://learn.microsoft.com/en-us/dotnet/azure/sdk/unit-testing-mocking?tabs=csharp
Actual behavior
I cannot mock:
CreateChatThreadResult
ChatThreadProperties
Reproduction Steps
n/a
Environment
No response
The text was updated successfully, but these errors were encountered: