Communities for your favorite technologies. Explore all Collectives
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Get early access and see previews of new features.
How do i verify an init-call with Moq? I have the following property defined in an interface:
public string Text { init; }
I want to verify that init was called with a specific parameter. Is that possible?
Set
Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Set
?