Expose Fake.TryGetFakeManager and Fake.IsFake
See original GitHub issueI wonder if it would be possible to make Fake.TryGetFakeManager
public?
I have a test utility that makes auto-wrapping fakes and I would like to ensure that the provided object is not already a fake - preferably without catching an exception 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
How should I handle fake co-workers (upper management ...
How should I handle fake co-workers (upper management, supervisor, etc) who smile in my face and backstab me at my job?
Read more >my new coworker is putting fake mistakes in my work so ...
my new coworker is putting fake mistakes in my work so she can tell our boss I'm bad at my job. by Alison...
Read more >How to Manage in Company with Fake Experience - YouTube
In this video we have explained to people asking for questions Should I show Fake Experience to Get Job in Testing? Should I...
Read more >Who Is Falling for Fake News? - Knowledge at Wharton
The professors found that relatively few sites account for most of the fake news, so rather than rating individual articles as true or...
Read more >Fake profiles on social media lure people into “investing” in ...
Fraudsters are setting up fake profiles on popular social media websites and making out they are successful Binary Options or Forex Traders.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, @thomaslevesque. I’m convinced. On
Fake
,(If this gets added after nullability warnings are enabled, I’d mark the
fakeManager
parameter in the first call with aNotNullWhen(true)
.)Should be fairly straightforward, even including updating the Advanced Usage docs.
Thanks for proposing and implementing this issue, @asgerhallas. Look for your name in the release notes! 🥇