[QUERY] How to create a SubscriptionProperties in unit tests? #43998
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
issue-addressed
The Azure SDK team member assisting with this issue 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 Bus
Library name and version
Azure.Messaging.ServiceBus
Query/Question
I was mocking the
ServiceBusAdministrationClient
and realized I'm not table to create/initialize theSubscriptionProperties
class
.Both constructors defined for the
SubscriptionProperties
class
areinternal
...Is there a factory I can use in my unit tests?
Or could someone make the constructors
public
for theSubscriptionProperties
class
?Environment
No response
The text was updated successfully, but these errors were encountered: