Skip to content
FakeItEasy
Platform support
Initializing search
GitHub
FakeItEasy
GitHub
FakeItEasy
Quickstart
Creating Fakes
Creating Fakes
Creating Fakes
What can be faked
Default fake behavior
How to fake internal (Friend in VB) types
Specifying Fakes’ Behavior
Specifying Fakes’ Behavior
Specifying a Call to Configure
Specifying Return Values
Throwing Exceptions
Doing Nothing
Assigning out and ref parameters
Invoking Custom Code
Calling base methods
Changing behavior between calls
Argument constraints
Assertion
Assertion
Assertion
Ordered assertions
Faking async methods
Raising events
Strict fakes
Dummies
Dummies
Dummies
Custom Dummy Creation
Implicit Creation Options
Formatting Argument Values
Scanning for Extension Points
Bootstrapper
Analyzer Packages
Platform support
Source Stepping
Why was FakeItEasy created?
External Resources
Platform support
FakeItEasy officially supports the following platforms:
.NET Framework 4.0 onwards