C#C
C#3y ago
shivam51

❔ How can I mock a Service class being used in Component class?

The service also initializes a dapr component in it's constructor.
I want to unit test a function of the controller class.
Happy to share more info.
Was this page helpful?