Remove Unnatural fakes
See original GitHub issuevar fake = new Fake<IFoo>();
fake.CallsTo(x => x.Bar("some argument")).Returns("some return value");
var foo = fake.FakeObject;
I’m guessing that almost no one uses them and this is just cruft in our code base.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How do you quickly remove a fake tan?
The quickest way to remove a fake tan is by using a product specifically formulated to remove self-tanners, such as an exfoliating scrub...
Read more >Fighting deepfakes when detection fails
A range of papers have discovered telltale signs of deepfakes, including unnatural blinking patterns, distortion in facial features, 9 ...
Read more >11 Ways to Easily Identify Manipulated Images
Can't tell if a photo is fake or real? These methods will help you identify manipulated photos just by looking at them.
Read more >How to Remove Self Tanner Streaks - 9 Best Self Tan ...
This genius fake-tan remover is like an exfoliating mitt and bar soap all in one. Keep in mind that it's way too harsh...
Read more >7 Tools to Detect Photoshopped & Fake Images (+ Tutorials)
On PC, you can simply remove the EXIF data by right click image -> Properties -> Details -> Remove Properties and Personal Information....
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
Fair enough, but I also don’t want to carry stuff around forever if it’s never used. It’s a poor syntax compared to
A
so I think we should discourage it by deprecating in 2.x by adding[Obsolete]
.If, after it’s been deprecated for a while, we’ve heard no complaints, that pretty much clears the way for us to remove in 3.0.
Ah, I see what you mean know - in the context of something like AutoFakeItEasy injecting in either fakes or real objects are arguments to tests.
Fair enough, I’m convinced that we should keep
Fake<T>
.