Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ How can I mock a Service class being used in Component class? - C#
C
C#
•
3y ago
•
5 replies
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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ How can I delete a component
C
C# / help
4y ago
✅ Nested classes in C# with parent being a generic class
C
C# / help
13mo ago
❔ How can I access a member of a different class in a dictionary
C
C# / help
4y ago
How can i deserialize this json in to a class? [Answered]
C
C# / help
4y ago