docs: refine static interface members page#771
Conversation
Drop the ".NET 8+" suffix from the headline (kept inline in the body) and replace the placeholder example with an explicit IChocolateFactory interface using chocolate-themed setup, raise, and verify calls.
There was a problem hiding this comment.
Pull request overview
Updates the documentation for Mockolate’s static interface member mocking feature by simplifying the page headline and replacing the placeholder snippet with a concrete chocolate-factory themed example.
Changes:
- Removed the “.NET 8+” suffix from the page title (kept the requirement in the body text).
- Replaced the placeholder static-member setup/raise/verify snippet with an explicit
IChocolateFactoryexample usingSetupStatic,RaiseStatic, andVerifyStatic.
🚀 Benchmark ResultsDetails
Details
Details
Details
Details
Details
|
Static abstract interface members cannot be called via the interface itself, so the prior snippet's verifications would fail in a real test. Add an act step that calls each member through generic helpers constrained to IChocolateFactory, including an explicit subscription before raising and verifying the event.
|
…age (#771) by Valentin Breuß
…age (#771) by Valentin Breuß
|
This is addressed in release v3.2.0. |



Drop the ".NET 8+" suffix from the headline (kept inline in the body) and replace the placeholder example with an explicit IChocolateFactory interface using chocolate-themed setup, raise, and verify calls.