diff --git a/build/tasks/configuration.rb b/build/tasks/configuration.rb
index 1700685..4bb55b7 100755
--- a/build/tasks/configuration.rb
+++ b/build/tasks/configuration.rb
@@ -15,7 +15,7 @@
:specs =>
{
:runner_options => ["-x","example"],
- :tools_folder => delayed{File.join("packages","Machine.Specifications.0.5.9","tools")},
+ :tools_folder => delayed{File.join("packages","Machine.Specifications.0.7.0","tools")},
:dir => delayed{configatron.artifacts_dir.join('specs')},
:report_dir => delayed{configatron.specs.dir.join('report')},
:assemblies => dynamic{Dir.glob("#{configatron.artifacts_dir}/*specs.dll")},
diff --git a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg b/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg
deleted file mode 100644
index 6051310..0000000
Binary files a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nupkg and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll
deleted file mode 100644
index ccc7d5f..0000000
Binary files a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.dll and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll
deleted file mode 100644
index 24f4b2f..0000000
Binary files a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.dll and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll
deleted file mode 100644
index 777ca82..0000000
Binary files a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.dll and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll
deleted file mode 100644
index 5d89826..0000000
Binary files a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.dll and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll b/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll
deleted file mode 100644
index e1e42a7..0000000
Binary files a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.dll and /dev/null differ
diff --git a/packages/Castle.Core.3.2.0/ASL - Apache Software Foundation License.txt b/packages/Castle.Core.3.2.2/ASL - Apache Software Foundation License.txt
similarity index 100%
rename from packages/Castle.Core.3.2.0/ASL - Apache Software Foundation License.txt
rename to packages/Castle.Core.3.2.2/ASL - Apache Software Foundation License.txt
diff --git a/packages/Castle.Core.3.2.0/BreakingChanges.txt b/packages/Castle.Core.3.2.2/BreakingChanges.txt
similarity index 100%
rename from packages/Castle.Core.3.2.0/BreakingChanges.txt
rename to packages/Castle.Core.3.2.2/BreakingChanges.txt
diff --git a/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg
new file mode 100644
index 0000000..6a1ae4c
Binary files /dev/null and b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nupkg differ
diff --git a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec
similarity index 81%
rename from packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec
rename to packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec
index d7c76db..8a7c498 100644
--- a/packages/Castle.Core.3.2.0/Castle.Core.3.2.0.nuspec
+++ b/packages/Castle.Core.3.2.2/Castle.Core.3.2.2.nuspec
@@ -2,8 +2,7 @@
Castle.Core
- 3.2.0
- Castle.Core
+ 3.2.2
Castle Project Contributors
Castle Project Contributors
http://www.apache.org/licenses/LICENSE-2.0.html
@@ -12,9 +11,7 @@
false
Castle Project Core, including DynamicProxy, Logging Abstractions and DictionaryAdapter
Castle Project Core, including DynamicProxy, Logging Abstractions and DictionaryAdapter
-
Copyright 2004-2013 Castle Project - http://www.castleproject.org/
-
- castle, dynamicproxy, dynamic proxy, dynamicproxy2, dictionaryadapter, emailsender
+ castle dynamicproxy dynamic proxy dynamicproxy2 dictionaryadapter emailsender
\ No newline at end of file
diff --git a/packages/Castle.Core.3.2.0/Changes.txt b/packages/Castle.Core.3.2.2/Changes.txt
similarity index 89%
rename from packages/Castle.Core.3.2.0/Changes.txt
rename to packages/Castle.Core.3.2.2/Changes.txt
index 340073b..4adc114 100644
--- a/packages/Castle.Core.3.2.0/Changes.txt
+++ b/packages/Castle.Core.3.2.2/Changes.txt
@@ -1,3 +1,18 @@
+3.2.2
+==================
+- fixed #35 - ParameterBuilder.SetConstant fails when using a default value of null - contributed by (@jonasro)
+
+3.2.1
+==================
+- fixed #32 - Improve configuration of SmtpClient in sync sending - contributed by Artur Dorochowicz (@ArturDorochowicz)
+- fixed #31 - [DynamicProxy] Preserve DefaultValues of proxied method's parameters (in .NET 4.5)
+- fixed #30 - tailoring InternalsVisibleTo message based on assembly of inaccessible type - contributed by Blair Conrad (@blairconrad)
+- fixed #27 - Allow dynamic proxy of generic interfaces which have generic methods, under Mono 2.10.8 and Mono 3.0.6 - contributed by Iain Ballard (@i-e-b)
+- fixed #26 - Proxy of COM class issue, reference count incremented - contributed by Jean-Claude Viau (@jcviau)
+- fixed DYNPROXY-188 - CreateInterfaceProxyWithoutTarget fails with interface containing member with 'ref UIntPtr' - contributed by Pier Janssen (@Pjanssen)
+- fixed DYNPROXY-186 - .Net remoting (transparent proxy) cannot be proxied - contributed by Jean-Claude Viau (@jcviau)
+- fixed DYNPROXY-185 - ProxyUtil.GetUnproxiedInstance returns proxy object for ClassProxyWithTarget instead of its target - contributed by Dmitry Xlestkov (@d-s-x)
+
3.2.0 (2013-02-16)
==================
- fixed DYNPROXY-179 - Exception when creating a generic proxy (from cache)
diff --git a/packages/Castle.Core.3.2.0/License.txt b/packages/Castle.Core.3.2.2/License.txt
similarity index 100%
rename from packages/Castle.Core.3.2.0/License.txt
rename to packages/Castle.Core.3.2.2/License.txt
diff --git a/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll
new file mode 100644
index 0000000..5bac3c5
Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.dll differ
diff --git a/packages/Castle.Core.3.2.0/lib/net35/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net35/Castle.Core.xml
similarity index 100%
rename from packages/Castle.Core.3.2.0/lib/net35/Castle.Core.xml
rename to packages/Castle.Core.3.2.2/lib/net35/Castle.Core.xml
diff --git a/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll
new file mode 100644
index 0000000..8e86a7c
Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.dll differ
diff --git a/packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.xml
similarity index 100%
rename from packages/Castle.Core.3.2.0/lib/net40-client/Castle.Core.xml
rename to packages/Castle.Core.3.2.2/lib/net40-client/Castle.Core.xml
diff --git a/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll
new file mode 100644
index 0000000..52cd039
Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.dll differ
diff --git a/packages/Castle.Core.3.2.0/lib/net45/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/net45/Castle.Core.xml
similarity index 100%
rename from packages/Castle.Core.3.2.0/lib/net45/Castle.Core.xml
rename to packages/Castle.Core.3.2.2/lib/net45/Castle.Core.xml
diff --git a/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll
new file mode 100644
index 0000000..7400c7a
Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.dll differ
diff --git a/packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.xml
similarity index 100%
rename from packages/Castle.Core.3.2.0/lib/sl4/Castle.Core.xml
rename to packages/Castle.Core.3.2.2/lib/sl4/Castle.Core.xml
diff --git a/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll
new file mode 100644
index 0000000..65a0efa
Binary files /dev/null and b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.dll differ
diff --git a/packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.xml b/packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.xml
similarity index 100%
rename from packages/Castle.Core.3.2.0/lib/sl5/Castle.Core.xml
rename to packages/Castle.Core.3.2.2/lib/sl5/Castle.Core.xml
diff --git a/packages/Castle.Core.3.2.0/readme.txt b/packages/Castle.Core.3.2.2/readme.txt
similarity index 100%
rename from packages/Castle.Core.3.2.0/readme.txt
rename to packages/Castle.Core.3.2.2/readme.txt
diff --git a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg b/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg
deleted file mode 100644
index 786d888..0000000
Binary files a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nupkg and /dev/null differ
diff --git a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec b/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec
deleted file mode 100644
index fe1c75a..0000000
--- a/packages/FakeItEasy.1.11.0/FakeItEasy.1.11.0.nuspec
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- FakeItEasy
- 1.11.0
- Fake it Easy!
- Patrik Hägne
- Patrik Hägne
- https://github.com/FakeItEasy/FakeItEasy/blob/master/License.txt
- https://github.com/FakeItEasy/FakeItEasy/
- https://raw.github.com/FakeItEasy/FakeItEasy/master/Resources/fakeiteasy_128x128.png
- false
- It's faking amazing! The easy mocking framework for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze.
- Enhancment: Add generic type arguments to method signatures in exception messages - https://github.com/FakeItEasy/FakeItEasy/issues/100/
-Enhancement: Better error message when faking internals without the InternalsVisibleTo() attribute - https://github.com/FakeItEasy/FakeItEasy/issues/98/
- en-US
- TDD unittesting mocks mocking fakes faking stubs stubbing spy spies doubles isolation substitutes substitution
-
-
\ No newline at end of file
diff --git a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll
deleted file mode 100644
index ac75daf..0000000
Binary files a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.dll and /dev/null differ
diff --git a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll
deleted file mode 100644
index fc7bb43..0000000
Binary files a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.dll and /dev/null differ
diff --git a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll b/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll
deleted file mode 100644
index e89c281..0000000
Binary files a/packages/FakeItEasy.1.11.0/lib/sl40/FakeItEasy.dll and /dev/null differ
diff --git a/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg b/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg
new file mode 100644
index 0000000..6892c7c
Binary files /dev/null and b/packages/FakeItEasy.1.18.0/FakeItEasy.1.18.0.nupkg differ
diff --git a/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll
new file mode 100644
index 0000000..64f3132
Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.dll differ
diff --git a/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml
new file mode 100644
index 0000000..2109778
--- /dev/null
+++ b/packages/FakeItEasy.1.18.0/lib/net35/FakeItEasy.xml
@@ -0,0 +1,3699 @@
+
+
+
+ FakeItEasy
+
+
+
+
+ Provides methods for generating fake objects.
+
+
+
+
+ Creates a fake object of the type T.
+
+ The type of fake object to create.
+ A fake object.
+
+
+
+ Creates a fake object of the type T.
+
+ The type of fake object to create.
+ A lambda where options for the built fake object can be specified.
+ A fake object.
+
+
+
+ Creates a collection of fakes of the specified type.
+
+ The type of fakes to create.
+ The number of fakes in the collection.
+ A collection of fake objects of the specified type.
+
+
+
+ Gets a dummy object of the specified type. The value of a dummy object
+ should be irrelevant. Dummy objects should not be configured.
+
+ The type of dummy to return.
+ A dummy object of the specified type.
+ Dummies of the specified type can not be created.
+
+
+
+ Gets a value indicating whether the two objects are equal.
+
+ The first object to compare.
+ The second object to compare.
+ True if the two objects are equal.
+
+
+
+ Gets a value indicating whether the two objects are the same reference.
+
+ The object A.
+ The object B.
+ True if the objects are the same reference.
+
+
+
+ Configures a call to a faked object.
+
+ An expression where the configured member is called.
+ A configuration object.
+
+
+
+ Gets a configuration object allowing for further configuration of
+ any call to the specified faked object.
+
+
+ The fake to configure.
+
+
+ A configuration object.
+
+
+
+
+ Configures a call to a faked object.
+
+ The type of member on the faked object to configure.
+ An expression where the configured member is called.
+ A configuration object.
+
+
+
+ Provides an API entry point for constraining arguments of fake object calls.
+
+ The type of argument to validate.
+
+
+
+ Gets an argument constraint object that will be used to constrain a method call argument.
+
+
+
+
+ Gets a constraint that considers any value of an argument as valid.
+
+ This is a shortcut for the "Ignored"-property.
+
+
+
+ Gets a constraint that considers any value of an argument as valid.
+
+
+
+
+ Provides configuration for any (not a specific) call on a faked object.
+
+
+
+
+ Gets a configuration object allowing for further configuration of
+ any call to the specified faked object.
+
+ The faked object to configure.
+ A configuration object.
+
+
+
+ Gets a value indicating whether the two objects are equal.
+
+ The first object to compare.
+ The second object to compare.
+ True if the two objects are equal.
+
+
+
+ Gets a value indicating whether the two objects are the same reference.
+
+ The object A.
+ The object B.
+ True if the objects are the same reference.
+
+
+
+ A collection of method arguments.
+
+
+
+
+ The arguments this collection contains.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The arguments.
+ The argument names.
+
+
+
+ Initializes a new instance of the class.
+
+ The arguments.
+ The method.
+
+
+
+ Returns an enumerator that iterates through the collection or arguments.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Gets the argument at the specified index.
+
+ The type of the argument to get.
+ The index of the argument.
+ The argument at the specified index.
+
+
+
+ Gets the argument with the specified name.
+
+ The type of the argument to get.
+ The name of the argument.
+ The argument with the specified name.
+
+
+
+ Gets an empty ArgumentList.
+
+
+
+
+ Gets the number of arguments in the list.
+
+
+
+
+ Gets the names of the arguments in the list.
+
+
+
+
+ Gets the argument at the specified index.
+
+ The index of the argument to get.
+ The argument at the specified index.
+
+
+
+ Provides validation extensions for .
+
+
+
+
+ Constrains an argument so that it must be null (Nothing in VB).
+
+ The type of the argument.
+ The constraint manager to match the constraint.
+ A dummy argument value.
+
+
+
+ Constrains the string argument to contain the specified text.
+
+ The constraint manager to match the constraint.
+ The string the argument string should contain.
+ A dummy argument value.
+
+
+
+ Constrains the sequence so that it must contain the specified value.
+
+ The constraint manager to match the constraint.
+ The value the collection should contain.
+ The type of sequence.
+ A dummy argument value.
+
+
+
+ Constrains the string so that it must start with the specified value.
+
+ The constraint manager to match the constraint.
+ The value the string should start with.
+ A dummy argument value.
+
+
+
+ Constrains the string so that it must end with the specified value.
+
+ The constraint manager to match the constraint.
+ The value the string should end with.
+ A dummy argument value.
+
+
+
+ Constrains the string so that it must be null or empty.
+
+ The constraint manager to match the constraint.
+ A dummy argument value.
+
+
+
+ Constrains argument value so that it must be greater than the specified value.
+
+ The constraint manager to match the constraint.
+ The value the string should start with.
+ The type of argument to constrain.
+ A dummy argument value.
+
+
+
+ The tested argument collection should contain the same elements as the
+ as the specified collection.
+
+ The constraint manager to match the constraint.
+ The sequence to test against.
+ The type of argument to constrain.
+ A dummy argument value.
+
+
+
+ Tests that the IEnumerable contains no items.
+
+ The type of argument.
+ The constraint manager to match the constraint.
+ A dummy argument value.
+
+
+
+ Tests that the passed in argument is equal to the specified value.
+
+ The type of the argument.
+ The constraint manager to match the constraint.
+ The value to compare to.
+ A dummy argument value.
+
+
+
+ Tests that the passed in argument is the same instance (reference) as the specified value.
+
+ The type of the argument.
+ The constraint manager to match the constraint.
+ The reference to compare to.
+ A dummy argument value.
+
+
+
+ Constrains the argument to be of the specified type.
+
+ The type of argument in the method signature.
+ The constraint manager.
+ The type to constrain the argument with.
+ A dummy value.
+
+
+
+ Constrains the argument with a predicate.
+
+
+ The constraint manager.
+
+
+ The predicate that should constrain the argument.
+
+
+ A human readable description of the constraint.
+
+
+ The type of argument in the method signature.
+
+
+ A dummy argument value.
+
+
+
+
+ Constrains the argument with a predicate.
+
+
+ The constraint manager.
+
+
+ The predicate that should constrain the argument.
+
+
+ A human readable description of the constraint format string.
+
+
+ Arguments for the format string.
+
+
+ The type of argument in the method signature.
+
+
+ A dummy argument value.
+
+
+
+
+ Constrains the argument with a predicate.
+
+
+ The constraint manager.
+
+
+ The predicate that should constrain the argument.
+
+
+ The type of argument in the method signature.
+
+
+ A dummy argument value.
+
+
+
+
+ Constrains the argument to be not null (Nothing in VB) and to match
+ the specified predicate.
+
+ The type of the argument to constrain.
+ The constraint manager.
+ The predicate that constrains non null values.
+ An action that writes a description of the constraint
+ to the output.
+ A dummy argument value.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Specifies that a call to the configured call should be applied no matter what arguments
+ are used in the call to the faked object.
+
+ The type of the interface.
+ The configuration.
+ A configuration object.
+
+
+
+ Provides string formatting for arguments of type T when written in call lists.
+
+ The type of the arguments which will be formatted by this instance.
+
+
+
+ Provides string formatting for arguments when written in
+ call lists.
+
+
+
+
+ Gets a string representing the specified argument value.
+
+ The argument value to get as a string.
+ A string representation of the value.
+
+
+
+ Gets the type of arguments this formatter works on.
+
+
+
+
+ Gets the priority of the formatter, when two formatters are
+ registered for the same type the one with the highest
+ priority is used.
+
+
+
+
+ Gets a string representing the specified argument value.
+
+ The argument value to get as a string.
+ A string representation of the value.
+
+
+
+ Gets a string representing the specified argument value.
+
+ The argument value to get as a string.
+ A string representation of the value.
+
+
+
+ Gets the type of arguments this formatter works on.
+
+
+
+
+ Gets the priority of the formatter, when two formatters are
+ registered for the same type the one with the highest
+ priority is used.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Asserts that the specified call must have happened once or more.
+
+ The configuration to assert on.
+
+
+
+ Asserts that the specified call has not happened.
+
+ The configuration to assert on.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed.
+
+ The type of fake object.
+ The configuration that is extended.
+ The to invoke.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Filters to contain only the calls that matches the call specification.
+
+ The type of fake the call is made on.
+ The calls to filter.
+ The call to match on.
+ A collection of the calls that matches the call specification.
+
+
+
+ Provides the base for rules that can be built using the FakeConfiguration.
+
+
+
+
+ Represents a call rule that has a description of the calls the
+ rule is applicable to.
+
+
+
+
+ Allows for intercepting call to a fake object and
+ act upon them.
+
+
+
+
+ Gets whether this interceptor is applicable to the specified
+ call, if true is returned the Apply-method of the interceptor will
+ be called.
+
+ The call to check for applicability.
+ True if the interceptor is applicable.
+
+
+
+ Applies an action to the call, might set a return value or throw
+ an exception.
+
+ The call to apply the interceptor to.
+
+
+
+ Gets the number of times this call rule is valid, if it's set
+ to null its infinitely valid.
+
+
+
+
+ Writes a description of calls the rule is applicable to.
+
+ The writer.
+
+
+
+ Gets if this rule is applicable to the specified call.
+
+ The call to validate.
+ True if the rule applies to the call.
+
+
+
+ Writes a description of calls the rule is applicable to.
+
+ The writer to write the description to.
+
+
+
+ Gets or sets an action that is called by the Apply method to apply this
+ rule to a fake object call.
+
+
+
+
+ Gets a collection of actions that should be invoked when the configured
+ call is made.
+
+
+
+
+ Gets or sets values to apply to output and reference variables.
+
+
+
+
+ Gets or sets a value indicating whether the base method of the fake object call should be
+ called when the fake object call is made.
+
+
+
+
+ Gets or sets the number of times the configured rule should be used.
+
+
+
+
+ Gets a description of calls the rule is applicable to.
+
+
+
+
+
+ Configuration for any call to a faked object.
+
+
+
+
+ Provides a way to configure predicates for when a call should be applied.
+
+ The type of fake object that is going to be configured..
+
+
+
+ Applies a predicate to constrain which calls will be considered for interception.
+
+ A predicate for a fake object call.
+ An action that writes a description of the predicate
+ to the output.
+ The configuration object.
+
+
+
+ Provides configuration methods for methods that does not have a return value and
+ allows the use to specify validations for arguments.
+
+
+
+
+ Provides configuration methods for methods that does not have a return value.
+
+
+
+
+ Configuration that lets the developer specify that an exception should be
+ thrown by a fake object call.
+
+
+
+
+ Hides standard Object members to make fluent interfaces
+ easier to read. Found in the source of Autofac:
+ Based on blog post here:
+
+
+
+
+
+ Hides the ToString-method.
+
+ A string representation of the implementing object.
+
+
+
+ Determines whether the specified is equal to this instance.
+
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
+
+
+
+ Returns a hash code for this instance.
+
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
+
+
+
+ Gets the type.
+
+ The exact runtime type of the current instance.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ A function that creates the exception to throw.
+ Configuration object.
+
+
+
+ Configuration for callbacks of fake object calls.
+
+ The type of interface to return.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The action to invoke.
+ A configuration object.
+
+
+
+ Configuration that lets you specify that a fake object call should call it's base method.
+
+
+
+
+ When the configured method or methods are called the call
+ will be delegated to the base method of the faked method.
+
+ A configuration object.
+ The fake object is of an abstract type or an interface
+ and no base method exists.
+
+
+
+ Lets the developer configure output values of out and ref parameters.
+
+
+
+
+ Specifies output values for out and ref parameters. Specify the values in the order
+ the ref and out parameters has in the configured call, any non out and ref parameters are ignored.
+
+ The values.
+ A configuration object.
+
+
+
+ Allows the developer to assert on a call that's configured.
+
+
+
+
+ Asserts that the configured call has happened the number of times
+ constrained by the repeatConstraint parameter.
+
+ A constraint for how many times the call
+ must have happened.
+ The call has not been called a number of times
+ that passes the repeat constraint.
+
+
+
+ Configures the specified call to do nothing when called.
+
+ A configuration object.
+
+
+
+ Provides configurations to validate arguments of a fake object call.
+
+ The type of interface to return.
+
+
+
+ Configures the call to be accepted when the specified predicate returns true.
+
+ The argument predicate.
+ A configuration object.
+
+
+
+ Matches calls that has the return type specified in the generic type parameter.
+
+ The return type of the members to configure.
+ A configuration object.
+
+
+
+ Manages registration of a set of components in a DictionaryContainer.
+
+
+
+
+ Registers the components of this module.
+
+ The container to register components in.
+
+
+
+ A factory that creates instances of the RecordingCallRuleType.
+
+
+
+
+ Creates the specified fake object.
+
+ The type of the fake.
+ The fake object the rule belongs to.
+ The rule that's being recorded.
+ A RecordingCallRule instance.
+
+
+
+ A factory responsible for creating start configuration for fake objects.
+
+
+
+
+ Creates a start configuration for the specified fake object that fakes the
+ specified type.
+
+ The type of the fake object.
+ The fake object to configure.
+ A configuration object.
+
+
+
+ An exception that can be thrown when something goes wrong with the configuration
+ of a fake object.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Handles the configuration of fake object given an expression specifying
+ a call on a faked object.
+
+
+
+
+ Lets you set up expectations and configure repeat for the configured call.
+
+
+
+
+ Provides configuration for method calls that has a return value.
+
+
+
+
+ Specifies the number of times for the configured event.
+
+ The number of times to repeat.
+
+
+
+ A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration
+ interfaces.
+
+
+
+
+ Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>.
+
+ The type of fake object that is configured.
+
+
+
+ Configures a call that returns a value and allows the use to
+ specify validations for arguments.
+
+ The type of the member.
+
+
+
+ Configures a call that returns a value.
+
+ The type of the member.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ A function that produces the return value.
+ A configuration object.
+
+
+
+ Configurations for when a configured call is recorded.
+
+
+
+
+ Provides configuration from VisualBasic.
+
+
+
+
+ Provides methods for configuring a fake object.
+
+ The type of fake object.
+
+
+
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+
+ The type of the return value of the member.
+ An expression that specifies the calls to configure.
+ A configuration object.
+
+
+
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+
+ An expression that specifies the calls to configure.
+ A configuration object.
+
+
+
+ Configures the behavior of the fake object when a call is made to any method on the
+ object.
+
+ A configuration object.
+
+
+
+ A call rule that has been recorded.
+
+
+
+
+ A call rule that "sits and waits" for the next call, when
+ that call occurs the recorded rule is added for that call.
+
+ The type of the fake.
+
+
+
+ Provides access to a set of calls and a call matcher for these calls.
+
+
+
+
+ Provides access to a call matcher.
+
+
+
+
+ Gets a call predicate that can be used to check if a fake object call matches
+ the specified constraint.
+
+
+
+
+ Gets the set of calls.
+
+
+
+
+ Represents a delegate that creates a configuration object from
+ a fake object and the rule to build.
+
+ The rule that's being built.
+ The fake object the rule is for.
+ A configuration object.
+
+
+
+ Represents a predicate that matches a fake object call.
+
+
+
+
+ Gets a value indicating whether the call matches the predicate.
+
+ The call to match.
+ True if the call matches the predicate.
+
+
+
+ Provides configuration of faked objects.
+
+
+
+
+ Gets a configuration for the specified faked object.
+
+ The type of the fake.
+ The faked object to configure.
+ A configuration object.
+ The specified object is not a faked object.
+ The fakedObject parameter was null.
+
+
+
+ Represents an argument and a dummy value to use for that argument.
+
+
+
+
+ Initializes a new instance of the class.
+
+ A value indicating if the dummy value was successfully resolved.
+ The type of argument.
+ The resolved value.
+
+
+
+ Gets a value indicating whether a dummy argument value was successfully
+ resolved.
+
+
+
+
+ Gets the type of the argument.
+
+
+
+
+ Gets the resolved value.
+
+
+
+
+ Holds a formatter as well as the distance between a type to be formatted
+ and the type for which the formatted is registered.
+
+
+
+
+ Determines whether an assembly references FakeItEasy.
+
+ The assembly to check.
+ Whether or not the assembly references FakeItEasy.
+
+
+
+ Locate an implementation.
+
+
+ Will search the app domain for a concrete implementation,
+ and if it can't find one will use the .
+
+
+
+
+ Scans app domain assemblies looking for a concrete implementation of
+ that is not the .
+ Otherwise, the first matching type is instantiated and returned, or an
+ instance of DefaultBootstrapper is used if no other implementation is found.
+
+ An instance of the first non-default IBootstrapper implementation found,
+ or a DefaultBootstrapper.
+
+
+
+ Represents an event that happens when a call has been intercepted by a proxy.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The call.
+
+
+
+ Gets the call that was intercepted.
+
+ The call.
+
+
+
+ Keeps track of metadata for interceptions.
+
+
+
+
+ Gets whether the rule has been called the number of times specified or not.
+
+ True if the rule has not been called the number of times specified.
+
+
+
+ Gets or sets the number of times the rule has been used.
+
+
+
+
+ Gets or sets the rule this metadata object is tracking.
+
+
+
+
+ Manages attaching of argument constraints.
+
+ The type of argument to constrain.
+
+
+
+ Constrains the argument with a predicate.
+
+ The predicate that should constrain the argument.
+ An action that will be write a description of the constraint.
+ A dummy argument value.
+
+
+
+ Inverts the logic of the matches method.
+
+
+
+
+ Validates an argument, checks that it's valid in a specific fake call.
+
+
+
+
+ Writes a description of the argument constraint to the specified writer.
+
+
+ The writer.
+
+
+
+
+ Gets whether the argument is valid.
+
+ The argument to validate.
+ True if the argument is valid.
+
+
+
+ Default implementation of .
+
+
+
+
+ Attaches a fake manager to the proxy so that intercepted
+ calls can be configured.
+
+
+
+
+ Attaches a to the specified proxy, listening to
+ the event raiser.
+
+ The type of the fake object proxy.
+ The proxy to attach to.
+ The event raiser to listen to.
+
+
+
+ Gets the fake manager associated with the proxy.
+
+ The proxy to get the manager from.
+ A fake manager.
+
+
+
+ Attaches a to the specified proxy, listening to
+ the event raiser.
+
+ The type of the fake object proxy.
+ The proxy to attach to.
+ The event raiser to listen to.
+
+
+
+ Gets the fake manager associated with the proxy.
+
+ The proxy to get the manager from.
+ A fake manager.
+
+
+
+ Represents an object that can be tagged with another object. When implemented
+ by a proxy returned from an FakeItEasy uses the tag
+ to store a reference to the that handles that proxy.
+
+
+
+
+ Gets or sets the tag.
+
+
+
+
+ The default implementation of the IFakeObjectCallFormatter interface.
+
+
+
+
+ Provides string formatting for fake object calls.
+
+
+
+
+ Gets a human readable description of the specified
+ fake object call.
+
+ The call to get a description for.
+ A description of the call.
+
+
+
+ Gets a human readable description of the specified
+ fake object call.
+
+ The call to get a description for.
+ A description of the call.
+
+
+
+ Handles configuring of fake objects to delegate all their calls to a wrapped instance.
+
+
+
+
+ Manages configuration of fake objects to wrap instances.
+
+
+
+
+ Configures the specified faked object to wrap the specified instance.
+
+ The faked object to configure.
+ The instance to wrap.
+ The recorder to use, null if no recording should be made.
+
+
+
+ Configures the specified faked object to wrap the specified instance.
+
+ The faked object to configure.
+ The instance to wrap.
+ The recorder to use, null if no recording should be made.
+
+
+
+ A fake object container where delegates can be registered that are used to
+ resolve fake objects.
+
+
+
+
+ A container that can create fake objects.
+
+
+
+
+ Handles global configuration of fake object.
+
+
+
+
+ Applies base configuration to a fake object.
+
+ The type the fake object represents.
+ The fake object to configure.
+
+
+
+ Creates a dummy object of the specified type using the specified arguments if it's
+ supported by the container, returns a value indicating if it's supported or not.
+
+ The type of dummy object to create.
+ The dummy object that was created if the method returns true.
+ True if a dummy object can be created.
+
+
+
+ Initializes a new instance of the class.
+ Creates a new instance of the DelegateFakeObjectContainer.
+
+
+
+
+ Creates a fake object of the specified type using the specified arguments if it's
+ supported by the container, returns a value indicating if it's supported or not.
+
+ The type of dummy object to create.
+ The fake object that was created if the method returns true.
+ True if a fake object can be created.
+
+
+
+ Configures the fake.
+
+ The type of fake.
+ The fake object.
+
+
+
+ Registers the specified fake delegate.
+
+ The type of the return value of the method that encapsulates.
+ The fake delegate.
+
+
+
+ A IFakeObjectContainer implementation that uses MEF to load IFakeDefinitions and
+ IFakeConfigurations.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The dummy definitions.
+ The fake configurators.
+
+
+
+ Creates a fake object of the specified type using the specified arguments if it's
+ supported by the container, returns a value indicating if it's supported or not.
+
+ The type of fake object to create.
+ The fake object that was created if the method returns true.
+ True if a fake object can be created.
+
+
+
+ Applies base configuration to a fake object.
+
+ The type the fake object represents.
+ The fake object to configure.
+
+
+
+ An exception that is thrown when there was an error creating a fake object.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+ Auto fake property rule.
+
+ The central point in the API for proxied fake objects handles interception
+ of fake object calls by using a set of rules. User defined rules can be inserted
+ by using the AddRule-method.
+
+ Event rule.
+ Object member rule.
+ Property behavior rule.
+ Property setter rule.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Adds a call rule to the fake object.
+
+ The rule to add.
+
+
+
+ Adds a call rule last in the list of user rules, meaning it has the lowest priority possible.
+
+ The rule to add.
+
+
+
+ Removes the specified rule for the fake object.
+
+ The rule to remove.
+
+
+
+ Adds an interception listener to the manager.
+
+ The listener to add.
+
+
+
+ Removes any specified user rules.
+
+
+
+
+ Gets the faked object.
+
+
+
+
+ Gets the faked type.
+
+
+
+
+ Gets the interceptions that are currently registered with the fake object.
+
+
+
+
+ Gets a collection of all the calls made to the fake object within the current scope.
+
+
+
+
+ A delegate responsible for creating FakeObject instances.
+
+ An instance of .
+
+
+
+ Represents a call to a fake object at interception time.
+
+
+
+
+ Represents a fake object call that can be edited.
+
+
+
+
+ Represents a call to a fake object.
+
+
+
+
+ Gets the method that's called.
+
+
+
+
+ Gets the arguments used in the call.
+
+
+
+
+ Gets the faked object the call is performed on.
+
+
+
+
+ Sets the return value of the call.
+
+ The return value to set.
+
+
+
+ Calls the base method of the faked type.
+
+
+
+
+ Sets the value of the argument at the specified index in the parameters list.
+
+ The index of the argument to set the value of.
+ The value to set to the argument.
+
+
+
+ Freezes the call so that it can no longer be modified.
+
+ A completed fake object call.
+
+
+
+ Sets that the call should not be recorded by the fake manager.
+
+
+
+
+ Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex.
+
+ Nicked from
+ http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx.
+ If reduced trust context (for example) precludes
+ invoking internal members on , the stack trace will not be preserved.
+
+ The exception whose stack trace needs preserving.
+
+
+
+ Represents a scope for fake objects, calls configured within a scope
+ are only valid within that scope. Only calls made within a scope
+ are accessible from within a scope so for example asserts will only
+ assert on those calls done within the scope.
+
+
+
+
+ Provides access to all calls made to fake objects within a scope.
+ Scopes calls so that only calls made within the scope are visible.
+
+
+
+
+ Creates a new scope and sets it as the current scope.
+
+ The created scope.
+
+
+
+ Creates a new scope and sets it as the current scope, using the specified
+ container as the container for the new scope.
+
+ The container to use for the new scope.
+ The created scope.
+
+
+
+ Closes the scope.
+
+
+
+
+ Adds an intercepted call to the current scope.
+
+ The fake object.
+ The call that is intercepted.
+
+
+
+ Adds a fake object call to the current scope.
+
+ The fake object.
+ The rule to add.
+
+
+
+ Represents a completed call to a fake object.
+
+
+
+
+ Gets the value set to be returned from the call.
+
+
+
+
+ Used by the event raising rule of fake objects to get the event arguments used in
+ a call to Raise.With.
+
+
+
+
+ Gets the sender of the event.
+
+
+
+
+ Gets the event arguments of the event.
+
+
+
+
+ Represents a listener for fake object calls, can be plugged into a
+ FakeManager instance to listen to all intercepted calls.
+
+ The OnBeforeCallIntercepted method will be invoked before the OnBeforeCallIntercepted method of any
+ previously added listener. The OnAfterCallIntercepted method will be invoked after the OnAfterCallIntercepted
+ method of any previously added listener.
+
+
+
+ Called when the interception begins but before any call rules
+ has been applied.
+
+ The intercepted call.
+
+
+
+ Called when the interception has been completed and rules has been
+ applied.
+
+ The intercepted call.
+ The rule that was applied to the call.
+
+
+
+ Provides a set of types that are available.
+
+
+
+
+ Gets a collection of available types.
+
+ The available types.
+
+
+
+ Handles comparisons of instances of .
+
+
+
+
+ Gets a value indicating whether the two instances of would invoke the same method
+ if invoked on an instance of the target type.
+
+ The type of target for invocation.
+ The first .
+ The second .
+ True if the same method would be invoked.
+
+
+
+ A null implementation for the IFakeObjectContainer interface.
+
+
+
+
+ Always returns false and sets the fakeObject to null.
+
+ The type of dummy object to create.
+ Output variable for the fake object that will always be set to null.
+ Always return false.
+
+
+
+ Applies base configuration to a fake object.
+
+ The type the fake object represents.
+ The fake object to configure.
+
+
+
+ Provides access to all types in:
+
+ - FakeItEasy,
+ - assemblies loaded into the current that reference FakeItEasy and
+ - assemblies whose paths are supplied to the constructor, that also reference FakeItEasy.
+
+
+
+
+
+ Loads the available types into the .
+
+
+ The full paths to assemblies from which to load types,
+ as well as assemblies loaded into the current .
+
+
+
+
+ Gets a collection of available types.
+
+ The available types.
+
+
+
+ Provides instances from type catalogues.
+
+
+
+
+ Gets an instance per type in the catalogue that is a descendant
+ of the specified type.
+
+ The type of instances to get.
+ A sequence of instances of the specified type.
+
+
+
+ A call rule that applies to any call and just delegates the
+ call to the wrapped object.
+
+
+
+
+ Initializes a new instance of the class.
+ Creates a new instance.
+
+
+ The object to wrap.
+
+
+
+
+ Gets whether this interceptor is applicable to the specified
+ call, if true is returned the Apply-method of the interceptor will
+ be called.
+
+ The call to check for applicability.
+ True if the interceptor is applicable.
+
+
+
+ Applies an action to the call, might set a return value or throw
+ an exception.
+
+ The call to apply the interceptor to.
+
+
+
+ Gets the number of times this call rule is valid, if it's set
+ to null its infinitely valid.
+
+
+
+
+
+ An interface to be implemented by classes that can generate proxies for FakeItEasy.
+
+
+
+
+ Generates a proxy of the specified type and returns a result object containing information
+ about the success of the generation and the proxy if it was generated.
+
+ The type of proxy to generate.
+ Interfaces to be implemented by the proxy.
+ Arguments to pass to the constructor of the type in .
+ The custom attribute builders.
+ A result containing the generated proxy.
+
+
+
+ Generates a proxy of the specified type and returns a result object containing information
+ about the success of the generation and the proxy if it was generated.
+
+ The type of proxy to generate.
+ Interfaces to be implemented by the proxy.
+ Arguments to pass to the constructor of the type in .
+ A result containing the generated proxy.
+
+
+
+ Gets a value indicating whether the specified member can be intercepted by the proxy generator.
+
+ The member to test.
+ The instance the method will be called on.
+ The reason the method can not be intercepted.
+ True if the member can be intercepted.
+
+
+
+ An object that raises an event every time a call to a proxy has been intercepted.
+
+
+
+
+ Raised when a call is intercepted.
+
+
+
+
+ An adapter that adapts an to a .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The invocation.
+
+
+
+ Freezes the call so that it can no longer be modified.
+
+ A completed fake object call.
+
+
+
+ Calls the base method, should not be used with interface types.
+
+
+
+
+ Sets the specified value to the argument at the specified index.
+
+ The index of the argument to set the value to.
+ The value to set to the argument.
+
+
+
+ Sets the return value of the call.
+
+ The return value.
+
+
+
+ Returns a description of the call.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets a human readable description of the call.
+
+
+
+
+
+ Gets the value set to be returned from the call.
+
+
+
+
+ Gets the method that's called.
+
+
+
+
+ Gets the arguments used in the call.
+
+
+
+
+ Gets the faked object the call is performed on.
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to No constructor matches the passed arguments for constructor..
+
+
+
+
+ Looks up a localized string similar to Arguments for constructor specified for interface type..
+
+
+
+
+ Looks up a localized string similar to The type of proxy "{0}" is sealed..
+
+
+
+
+ Looks up a localized string similar to The type of proxy must be an interface or a class but it was {0}..
+
+
+
+
+ Looks up a localized string similar to No usable default constructor was found on the type {0}..
+
+
+
+
+ The default implementation of the IFakeAndDummyManager interface.
+
+
+
+
+ Handles the creation of fake and dummy objects.
+
+
+
+
+ Creates a dummy of the specified type.
+
+ The type of dummy to create.
+ The created dummy.
+ The current IProxyGenerator is not able to generate a fake of the specified type and
+ the current IFakeObjectContainer does not contain the specified type.
+
+
+
+ Creates a fake object of the specified type.
+
+ The type of fake object to generate.
+ Options for building the fake object.
+ A fake object.
+ The current IProxyGenerator is not able to generate a fake of the specified type.
+
+
+
+ Tries to create a dummy of the specified type.
+
+ The type of dummy to create.
+ Outputs the result dummy when creation is successful.
+ A value indicating whether the creation was successful.
+
+
+
+ Tries to create a fake object of the specified type.
+
+ The type of fake to create.
+ Options for the creation of the fake.
+ The created fake object when creation is successful.
+ A value indicating whether the creation was successful.
+
+
+
+ Default implementation of the IFakeCreator-interface.
+
+
+
+
+ A facade used by the public API for testability.
+
+
+
+
+ Creates a fake object of the specified type.
+
+ The type of fake to create.
+ Options for the created fake object.
+ The created fake object.
+ Was unable to generate the fake in the current configuration.
+
+
+
+ Creates a dummy object, this can be a fake object or an object resolved
+ from the current IFakeObjectContainer.
+
+ The type of dummy to create.
+ The created dummy.
+ Was unable to generate the fake in the current configuration and
+ no dummy was registered in the container for the specified type..
+
+
+
+ Creates a collection of fakes of the specified type.
+
+ The type of fakes to create.
+ The number of fakes in the collection.
+ A collection of fake objects of the specified type.
+
+
+
+ Initializes a new instance of the class.
+
+ The fake and dummy manager.
+
+
+
+ Creates a fake object of the specified type.
+
+ The type of fake to create.
+ Options for the created fake object.
+ The created fake object.
+ Was unable to generate the fake in the current configuration.
+
+
+
+ Creates a collection of fakes of the specified type.
+
+ The type of fakes to create.
+ The number of fakes in the collection.
+
+ A collection of fake objects of the specified type.
+
+
+
+
+ Creates a dummy object, this can be a fake object or an object resolved
+ from the current IFakeObjectContainer.
+
+ The type of dummy to create.
+ The created dummy.
+ Was unable to generate the fake in the current configuration and
+ no dummy was registered in the container for the specified type..
+
+
+
+ Provides options for fake wrappers.
+
+ The type of the fake object generated.
+
+
+
+ Provides options for generating fake object.
+
+ The type of fake object generated.
+
+
+
+ Specifies arguments for the constructor of the faked class.
+
+ The arguments to pass to the constructor of the faked class.
+ Options object.
+
+
+
+ Specifies arguments for the constructor of the faked class by giving an expression with the call to
+ the desired constructor using the arguments to be passed to the constructor.
+
+ The constructor call to use when creating a class proxy.
+ Options object.
+
+
+
+ Specifies that the fake should delegate calls to the specified instance.
+
+ The object to delegate calls to.
+ Options object.
+
+
+
+ Specifies that the fake should be created with these additional attributes.
+
+ The attributes to build into the proxy.
+ Options object.
+
+
+
+ Sets up the fake to implement the specified interface in addition to the
+ originally faked class.
+
+ The type of interface to implement.
+ Options object.
+ The specified type is not an interface.
+ The specified type is null.
+
+
+
+ Specifies an action that should be run over the fake object
+ once it's created.
+
+ An action to perform.
+ Options object.
+
+
+
+ Specifies a fake recorder to use.
+
+ The recorder to use.
+ Options object.
+
+
+
+ Initializes a new instance of the class.
+
+ The container.
+ The fake object creator.
+
+
+
+ Contains the result of a call to TryCreateProxy of IProxyGenerator.
+
+
+
+
+ Initializes a new instance of the class.
+ Creates a new instance representing a failed proxy
+ generation attempt.
+
+
+ The reason the proxy generation failed.
+
+
+
+
+ Initializes a new instance of the class.
+ Creates a new instance representing a failed proxy
+ generation attempt due to an exception being caught.
+
+
+ The reason the proxy generation failed.
+
+
+ The exception thrown from the creation attempt.
+
+
+
+
+ Initializes a new instance of the class.
+ Creates a new instance representing a successful proxy
+ generation.
+
+
+ The proxy that was generated.
+
+
+ An event raiser that raises
+ events when calls are intercepted to the proxy.
+
+
+
+
+ Gets a value indicating whether the proxy was successfully created.
+
+
+
+
+ Gets the generated proxy when it was successfully created.
+
+
+
+
+ Gets the event raiser that raises events when calls to the proxy are
+ intercepted.
+
+
+
+
+ Gets the reason for failure when the generation was not successful.
+
+
+
+
+ The default bootstrapper, used to initialize FakeItEasy unless another
+ implementation of is present in the assemblies
+ loaded in the app domain.
+
+
+
+
+ Bootstrapper for FakeItEasy.
+
+
+ When FakeItEasy is initialized, it scans the executing app domain for implementations
+ of this interface. If any are found, one will be instantiated and used to bootstrap
+ FakeItEasy. If no implementations are found, then a
+ will be used.
+ The recommended way to implement IBootstrapper is to extend DefaultBootstrapper
+ and override selected methods.
+
+
+
+
+ Provides a list of assembly file names to scan for extension points, such as
+ s, s, and
+ s.
+
+ A list of absolute paths pointing to assemblies to scan for extension points.
+
+
+
+ When overridden in a derived class, provides a custom list of assembly file
+ names to scan for extension points, such as
+ s, s, and
+ s.
+
+ This implementation returns the absolute paths of all the DLLs in the
+ .
+
+ A list of absolute paths of to assemblies to scan for extension points.
+
+
+
+ Represents a text writer that writes to the output.
+
+
+
+
+ Writes the specified value to the output.
+
+ The value to write.
+ The writer for method chaining.
+
+
+
+ Formats the specified argument value as a string and writes
+ it to the output.
+
+ The value to write.
+ The writer for method chaining.
+
+
+
+ Indents the writer.
+
+ A disposable that will unindent the writer when disposed.
+
+
+
+ Represents a definition of how a fake object of the type T should
+ be created.
+
+ The type of fake.
+
+
+
+ Represents a definition of how dummies of the specified type should be created.
+
+
+
+
+ Creates the fake.
+
+ The fake object.
+
+
+
+ Gets the type of fake object the definition is for.
+
+
+
+
+ Creates the dummy.
+
+ The dummy object.
+
+
+
+ Creates the dummy.
+
+ The dummy object.
+
+
+
+ Gets the type the definition is for.
+
+ For type.
+
+
+
+ Provides extension methods for generic usage of .
+
+
+
+
+ Gets an enumerable of tuples where the first value of each tuple is a value
+ from the first collection and the second value of each tuple is the value at the same position
+ from the second collection.
+
+ The type of values in the first collection.
+ The type of values in the second collection.
+ The first of the collections to combine.
+ The second of the collections to combine.
+ An enumerable of tuples.
+
+
+
+ Joins the collection to a string.
+
+ The type of items in the collection.
+ The items to join.
+ A function that converts from an item to a string value.
+ Separator to insert between each item.
+ A string representation of the collection.
+
+
+
+ Gets a dictionary containing the first element from the sequence that has a key specified by the key selector.
+
+ The type of items in the sequence.
+ The type of the key.
+ The sequence.
+ The key selector.
+ A dictionary.
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to The Apply method of the ExpressionInterceptor may no be called before the Applicator property has been set..
+
+
+
+
+ Looks up a localized string similar to The specified argument name does not exist in the ArgumentList..
+
+
+
+
+ Looks up a localized string similar to Arguments for constructor was specified when generating proxy of interface type..
+
+
+
+
+ Looks up a localized string similar to An argument validation was not configured correctly..
+
+
+
+
+ Looks up a localized string similar to The method '{0}' was called too few times, expected #{1} times but was called #{2} times..
+
+
+
+
+ Looks up a localized string similar to The method '{0}' was called too many times, expected #{1} times but was called #{2} times..
+
+
+
+
+ Looks up a localized string similar to Can not create fake of the type '{0}', it's not registered in the current container and the current IProxyGenerator can not generate the fake.
+
+ The following constructors failed:
+ {1}.
+
+
+
+
+ Looks up a localized string similar to Error when accessing FakeObject, the specified argument is of the type '{0}' which is not faked..
+
+
+
+
+ Looks up a localized string similar to An ExpressionCallMatcher can only be created for expressions that represents a method call or a property getter..
+
+
+
+
+ Looks up a localized string similar to
+
+ The current proxy generator failed to create a proxy with the specified arguments for the constructor:
+
+ Reason for failure:
+ - {0}
+
+ .
+
+
+
+
+ Looks up a localized string similar to FakeItEasy failed to create fake object of type "{0}".
+
+ 1. The type is not registered in the current IFakeObjectContainer.
+ 2. The current IProxyGenerator failed to generate a proxy for the following reason:
+
+ {1}.
+
+
+
+
+ Looks up a localized string similar to Unable to create fake object..
+
+
+
+
+ Looks up a localized string similar to Only abstract classes can be faked using the A.Fake-method that takes an enumerable of objects as arguments for constructor, use the overload that takes an expression instead..
+
+
+
+
+ Looks up a localized string similar to The member accessor expression must be a lambda expression with a MethodCallExpression or MemberAccessExpression as its body..
+
+
+
+
+ Looks up a localized string similar to The specified method can not be configured since it can not be intercepted by the current IProxyGenerator..
+
+
+
+
+ Looks up a localized string similar to The method of the call did not match the method of the recorded call, the recorded sequence is no longer valid..
+
+
+
+
+ Looks up a localized string similar to No constructor matching the specified arguments was found on the type {0}..
+
+
+
+
+ Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call..
+
+
+
+
+ Looks up a localized string similar to All the recorded calls has been applied, the recorded sequence is no longer valid..
+
+
+
+
+ Looks up a localized string similar to Only expression of the type ExpressionType.New (constructor calls) are accepted..
+
+
+
+
+ Looks up a localized string similar to The Now-method on the event raise is not meant to be called directly, only use it to register to an event on a fake object that you want to be raised..
+
+
+
+
+ Looks up a localized string similar to The number of values for out and ref parameters specified does not match the number of out and ref parameters in the call..
+
+
+
+
+ Looks up a localized string similar to A scope for ordered assertions is already opened, close that scope before opening another one..
+
+
+
+
+ Looks up a localized string similar to The specified call is not made on a fake object..
+
+
+
+
+ Looks up a localized string similar to The current fake proxy generator can not create proxies of the type {0}..
+
+
+
+
+ Looks up a localized string similar to FakeItEasy was unable to create dummy of type "{0}", register it in the current IFakeObjectContainer to enable this..
+
+
+
+
+ Looks up a localized string similar to Expected to find call {0} the number of times specified by the predicate '{1}' but found it {2} times among the calls:.
+
+
+
+
+ Looks up a localized string similar to The number of argument names does not match the number of arguments..
+
+
+
+
+ Provides the extension methods for .
+
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ The exception to throw when a call that matches is invoked.
+ Configuration object.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Configuration object.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ The type of exception to throw.
+ Configuration object.
+
+
+
+ An exception thrown when an expectation is not met (when asserting on fake object calls).
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Evaluates an expression by compiling it into a delegate and invoking the delegate.
+
+ The expression to be evaluated.
+ The value returned from the delegate compiled from the expression.
+
+
+
+ Represents a class that can parse a lambda expression
+ that represents a method or property call.
+
+
+
+
+ Parses the specified expression.
+
+ The expression to parse.
+ The parsed expression.
+
+
+
+ Handles the matching of fake object calls to expressions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The call specification.
+ The constraint factory.
+ The method info manager to use.
+ A parser to use to parse call expressions.
+
+
+
+ Matches the specified call against the expression.
+
+ The call to match.
+ True if the call is matched by the expression.
+
+
+
+ Gets a description of the call.
+
+ Description of the call.
+
+
+
+ Gets a human readable description of calls that will be matched by this
+ matcher.
+
+
+
+
+ An implementation of the interface that uses
+ expressions for evaluating if the rule is applicable to a specific call.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expression matcher to use.
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Handles the instantiation of ExpressionCallRule instance.
+
+ An expression specifying the call.
+ A rule instance.
+
+
+
+ Manages breaking call specification expression into their various parts.
+
+
+
+
+ Manages breaking call specification expression into their various parts.
+
+
+
+
+ Gets the fake object an expression is called on.
+
+ The call expression.
+ The FakeManager instance that manages the faked object the call is made on.
+ The fakeObjectCall is null.
+ The specified expression is not an expression where a call is made to a faked object.
+
+
+
+ Gets the fake object an expression is called on.
+
+ The call expression.
+ A FakeObject.
+ The fakeObjectCall is null.
+ The specified expression is not an expression where a call is made to a faked object.
+
+
+
+ Provides extension methods for configuring and asserting on faked objects
+ without going through the static methods of the Fake-class.
+
+
+
+
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+
+ The type of fake object to configure.
+ The type of the return value of the member.
+ The faked object to configure.
+ An expression that specifies the calls to configure.
+ A configuration object.
+
+
+
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+
+ The faked object to configure.
+ The type of fake object to configure.
+ An expression that specifies the calls to configure.
+ A configuration object.
+
+
+
+ Configures the behavior of the fake object when a call is made to any method on the
+ object.
+
+ The type of the fake.
+ The faked object.
+ A configuration object.
+
+
+
+ Provides an extension method for configuring fake objects.
+
+
+
+
+ Gets an object that provides a fluent interface syntax for configuring
+ the fake object.
+
+ The type of the fake object.
+ The fake object to configure.
+ A configuration object.
+ The fakedObject was null.
+ The object passed in is not a faked object.
+
+
+
+ Provides static methods for accessing fake objects.
+
+
+
+
+ Gets the fake object that manages the faked object.
+
+ The faked object to get the manager object for.
+ The fake object manager.
+
+
+
+ Creates a new scope and sets it as the current scope. When inside a scope the
+ getting the calls made to a fake will return only the calls within that scope and when
+ asserting that calls were made, the calls must have been made within that scope.
+
+ The created scope.
+
+
+
+ Creates a new scope and sets it as the current scope. When inside a scope the
+ getting the calls made to a fake will return only the calls within that scope and when
+ asserting that calls were made, the calls must have been made within that scope.
+
+ The container to use within the specified scope.
+ The created scope.
+
+
+
+ Gets a value indicating whether the two objects are equal.
+
+ The first object to compare.
+ The second object to compare.
+ True if the two objects are equal.
+
+
+
+ Gets a value indicating whether the two objects are the same reference.
+
+ The object A.
+ The object B.
+ True if the objects are the same reference.
+
+
+
+ Gets all the calls made to the specified fake object.
+
+ The faked object.
+ A collection containing the calls to the object.
+ The object passed in is not a faked object.
+
+
+
+ Clears the configuration of the faked object.
+
+ The faked object to clear the configuration of.
+
+
+
+ Sets a new fake to each property or field that is tagged with the FakeAttribute in the specified
+ fixture.
+
+ The object to initialize.
+
+
+
+ Represents a fake object that provides an API for configuring a faked object, exposed by the
+ FakedObject-property.
+
+ The type of the faked object.
+
+
+
+ Initializes a new instance of the class.
+ Creates a new fake object.
+
+
+
+
+ Initializes a new instance of the class.
+ Creates a new fake object using the specified options.
+
+
+ Options used to create the fake object.
+
+
+
+
+ Configures calls to the specified member.
+
+ An expression specifying the call to configure.
+ A configuration object.
+
+
+
+ Configures calls to the specified member.
+
+ The type of value the member returns.
+ An expression specifying the call to configure.
+ A configuration object.
+
+
+
+ Configures any call to the fake object.
+
+ A configuration object.
+
+
+
+ Gets the faked object.
+
+
+
+
+ Gets all calls made to the faked object.
+
+
+
+
+ Used to tag fields and properties that will be initialized through the
+ Fake.Initialize-method.
+
+
+
+
+ Provides the base implementation for the IFakeConfigurator-interface.
+
+ The type of fakes the configurator can configure.
+
+
+
+ Provides configurations for fake objects of a specific type.
+
+
+
+
+ Applies the configuration for the specified fake object.
+
+ The fake object to configure.
+
+
+
+ Gets the type the instance provides configuration for.
+
+
+
+
+ Configures the fake.
+
+ The fake object.
+
+
+
+ Applies the configuration for the specified fake object.
+
+ The fake object to configure.
+
+
+
+ Asserts the type of the that fake is of correct.
+
+ The fake object.
+
+
+
+ Gets the type the instance provides configuration for.
+
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Gets the argument at the specified index in the arguments collection
+ for the call.
+
+ The type of the argument to get.
+ The call to get the argument from.
+ The index of the argument.
+ The value of the argument with the specified index.
+
+
+
+ Gets the argument with the specified name in the arguments collection
+ for the call.
+
+ The type of the argument to get.
+ The call to get the argument from.
+ The name of the argument.
+ The value of the argument with the specified name.
+
+
+
+ Writes the calls in the collection to the specified output writer.
+
+ The type of the calls.
+ The calls to write.
+ The writer to write the calls to.
+
+
+
+ Writes all calls in the collection to the console.
+
+ The type of the calls.
+ The calls to write.
+
+
+
+ Gets the description of a call to a fake object.
+
+ The call to describe.
+ A description of the call.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Makes the fake strict, this means that any call to the fake
+ that has not been explicitly configured will throw an exception.
+
+ The type of fake object.
+ The configuration.
+ A configuration object.
+
+
+
+ Provides methods for guarding method arguments.
+
+
+
+
+ Throws an exception if the specified argument is null.
+
+ The argument.
+ Name of the argument.
+ The specified argument was null.
+
+
+
+ When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked.
+
+
+
+
+ Provides access to the file system.
+
+
+
+
+ Opens the specified file in the specified mode.
+
+ The full path and name of the file to open.
+ The mode to open the file in.
+ A stream for reading and writing the file.
+
+
+
+ Gets a value indicating whether the specified file exists.
+
+ The path and name of the file to check.
+ True if the file exists.
+
+
+
+ Creates a file with the specified name.
+
+ The name of the file to create.
+
+
+
+ A simple implementation of an IoC container.
+
+
+
+
+ The dictionary that stores the registered services.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Resolves an instance of the specified component type.
+
+ Type of the component.
+ An instance of the component type.
+
+
+
+ Registers the specified resolver.
+
+ The type of component to register.
+ The resolver.
+
+
+
+ Registers the specified resolver as a singleton.
+
+ The type of component to register.
+ The resolver.
+
+
+
+ Provides properties and methods to specify repeat.
+
+
+
+
+ Specifies the number of times as repeat.
+
+ The number of times expected.
+ A Repeated instance.
+
+
+
+ Specifies once as the repeat.
+
+
+
+
+ Specifies twice as the repeat.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Lets you specify options for the next call to a fake object.
+
+
+
+
+ Specifies options for the next call to the specified fake object. The next call will
+ be recorded as a call configuration.
+
+ The type of the faked object.
+ The faked object to configure.
+ A call configuration object.
+
+
+
+ Provides functionality for making ordered assertions on fakes.
+
+
+
+
+ Creates a scope that changes the behavior on asserts so that all asserts within
+ the scope must be to calls in the specified collection of calls. Calls must have happened
+ in the order that the asserts are specified or the asserts will fail.
+
+ The calls to assert among.
+ A disposable used to close the scope.
+
+
+
+ Provides extensions for .
+
+
+
+
+ Writes a new line to the writer.
+
+ The writer to write to.
+ The writer.
+
+
+
+ Writes the format string to the writer.
+
+ The writer to write to.
+ The format string to write.
+ Replacements for the format string.
+ The writer.
+
+
+
+ Writes the specified object to the writer (using the ToString-method of the object).
+
+ The writer to write to.
+ The value to write to the writer.
+ The writer.
+
+
+
+ Allows the developer to raise an event on a faked object.
+
+
+
+
+ Raises an event on a faked object by attaching the event handler produced by the method
+ to the event that is to be raised.
+
+ The type of the event args.
+ The sender of the event.
+ The instance containing the event data.
+ A Raise(TEventArgs)-object that exposes the event handler to attach.
+
+
+
+ Raises an event on a faked object by attaching the event handler produced by the method
+ to the event that is to be raised.
+
+ The type of the event arguments.
+ The instance containing the event data.
+
+ A Raise(TEventArgs)-object that exposes the event handler to attach.
+
+
+
+
+ Raises an event with empty event arguments on a faked object by attaching the event handler produced by the method
+ to the event that is to be raised.
+
+
+ A Raise(TEventArgs)-object that exposes the event handler to attach.
+
+
+
+
+ A class exposing an event handler to attach to an event of a faked object
+ in order to raise that event.
+
+ The type of the event args.
+
+
+
+ Register this event handler to an event on a faked object in order to raise that event.
+
+ The sender of the event.
+ Event args for the event.
+
+
+
+ Gets a generic event handler to attach to the event to raise.
+
+
+
+
+ Provides methods for creating recorders for self initializing fakes.
+
+
+
+
+ Gets a recorder that records to and loads calls from the specified file.
+
+ The file to use for recording.
+ A recorder instance.
+
+
+
+ Provides extensions for .
+
+
+
+
+ Specifies NumberOfTimes(1) to the repeat configuration.
+
+ The configuration to set repeat 1 to.
+
+
+
+ Specifies NumberOfTimes(2) to the repeat configuration.
+
+ The configuration to set repeat 2 to.
+
+
+
+ Provides syntax for specifying the number of times a call must have been repeated when asserting on
+ fake object calls.
+
+ A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly);
+
+
+
+ Specifies that a call must have been repeated a number of times
+ that is validated by the specified repeatValidation argument.
+
+ A predicate that specifies the number of times
+ a call must have been made.
+ A Repeated-instance.
+
+
+
+ When implemented gets a value indicating if the repeat is matched
+ by the Happened-instance.
+
+ The repeat of a call.
+ True if the repeat is a match.
+
+
+
+ Asserts that a call has not happened at all.
+
+
+
+
+ The call must have happened exactly the number of times that is specified in the next step.
+
+
+
+
+ The call must have happened any number of times greater than or equal to the number of times that is specified
+ in the next step.
+
+
+
+
+ The call must have happened any number of times less than or equal to the number of times that is specified
+ in the next step.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Specifies the value to return when the configured call is made.
+
+ The type of the return value.
+ The configuration to extend.
+ The value to return.
+ A configuration object.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The type of the return value.
+ The configuration to extend.
+ A function that produces the return value.
+ A configuration object.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ The configuration to extend.
+ A function that produces the return value.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Configures the call to return the next value from the specified sequence each time it's called. Null will
+ be returned when all the values in the sequence has been returned.
+
+
+ The type of return value.
+
+
+ The call configuration to extend.
+
+
+ The values to return in sequence.
+
+
+
+
+ Handles the registration of root dependencies in an IoC-container.
+
+
+
+
+ Registers the dependencies.
+
+ The container to register the dependencies in.
+
+
+
+ DTO for recorded calls.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The method.
+ The output arguments.
+ The return value.
+
+
+
+ Gets the method that was called.
+
+ The method.
+
+
+
+ Gets the output arguments of the call.
+
+ The output arguments.
+
+
+
+ Gets the return value of the call.
+
+ The return value.
+
+
+
+ Represents storage for recorded calls for self initializing
+ fakes.
+
+
+
+
+ Loads the recorded calls for the specified recording.
+
+ The recorded calls for the recording with the specified id.
+
+
+
+ Saves the specified calls as the recording with the specified id,
+ overwriting any previous recording.
+
+ The calls to save.
+
+
+
+ Initializes a new instance of the class.
+
+ Name of the file.
+ The file system.
+
+
+
+ Loads the recorded calls for the specified recording.
+
+
+ The recorded calls for the recording with the specified id.
+
+
+
+
+ Saves the specified calls as the recording with the specified id,
+ overwriting any previous recording.
+
+ The calls to save.
+
+
+
+ A factory responsible for creating instances of FileStorage.
+
+ The file name of the storage.
+ A FileStorage instance.
+
+
+
+ An interface for recorders that provides stored responses for self initializing fakes.
+
+
+
+
+ Applies the call if the call has been recorded.
+
+ The call to apply to from recording.
+
+
+
+ Records the specified call.
+
+ The call to record.
+
+
+
+ Gets a value indicating whether the recorder is currently recording.
+
+
+
+
+ An exception that can be thrown when recording for self initialized
+ fakes fails or when playback fails.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+
+
+
+ Initializes a new instance of the class.
+
+ The message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ Manages the applying of recorded calls and recording of new calls when
+ using self initialized fakes.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The storage.
+
+
+
+ Applies the call if the call has been recorded.
+
+ The call to apply to from recording.
+
+
+
+ Records the specified call.
+
+ The call to record.
+
+
+
+ Saves all recorded calls to the storage.
+
+
+
+
+ Gets a value indicating whether the recorder is currently recording.
+
+
+
+
+
+ Represents a factory responsible for creating recording manager
+ instances.
+
+ The storage the manager should use.
+ A RecordingManager instance.
+
+
+
+ A call rule use for self initializing fakes, delegates call to
+ be applied by the recorder.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The wrapped rule.
+ The recorder.
+
+
+
+ Gets whether this interceptor is applicable to the specified
+ call, if true is returned the Apply-method of the interceptor will
+ be called.
+
+ The call to check for applicability.
+ True if the interceptor is applicable.
+
+
+
+ Applies an action to the call, might set a return value or throw
+ an exception.
+
+ The call to apply the interceptor to.
+
+
+
+ Gets the number of times this call rule is valid, if it's set
+ to null its infinitely valid.
+
+
+
+
+
+ An attribute that can be applied to code that should be fixed because there's a
+ code smell.
+
+
+
+
+ Gets or sets the description of the smell.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Replaces the format item in a specified System.String with the text equivalent
+ of the value of a corresponding System.Object instance in a specified array using
+ invariant culture as .
+
+ A composite format string.
+ An array containing zero or more objects to format.
+ The formatted string.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Used to tag fields and properties that will be initialized as a SUT through the Fake.Initialize-method.
+
+
+
+
+ Provides helper methods for checking the value producer signature against call signatures.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Applies a predicate to constrain which calls will be considered for interception.
+
+ The return type of the where method.
+ The configuration object to extend.
+ A predicate for a fake object call.
+ The configuration object.
+
+
+
diff --git a/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll
new file mode 100644
index 0000000..adb39c9
Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.dll differ
diff --git a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml
similarity index 88%
rename from packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml
rename to packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml
index 3bc9348..fe82e49 100644
--- a/packages/FakeItEasy.1.11.0/lib/net40/FakeItEasy.xml
+++ b/packages/FakeItEasy.1.18.0/lib/net40/FakeItEasy.xml
@@ -433,6 +433,478 @@
Gets a constraint that considers any value of an argument as valid.
+
+
+ Determines whether an assembly references FakeItEasy.
+
+ The assembly to check.
+ Whether or not the assembly references FakeItEasy.
+
+
+
+ Locate an implementation.
+
+
+ Will search the app domain for a concrete implementation,
+ and if it can't find one will use the .
+
+
+
+
+ Scans app domain assemblies looking for a concrete implementation of
+ that is not the .
+ Otherwise, the first matching type is instantiated and returned, or an
+ instance of DefaultBootstrapper is used if no other implementation is found.
+
+ An instance of the first non-default IBootstrapper implementation found,
+ or a DefaultBootstrapper.
+
+
+
+ The default bootstrapper, used to initialize FakeItEasy unless another
+ implementation of is present in the assemblies
+ loaded in the app domain.
+
+
+
+
+ Bootstrapper for FakeItEasy.
+
+
+ When FakeItEasy is initialized, it scans the executing app domain for implementations
+ of this interface. If any are found, one will be instantiated and used to bootstrap
+ FakeItEasy. If no implementations are found, then a
+ will be used.
+ The recommended way to implement IBootstrapper is to extend DefaultBootstrapper
+ and override selected methods.
+
+
+
+
+ Provides a list of assembly file names to scan for extension points, such as
+ s, s, and
+ s.
+
+ A list of absolute paths pointing to assemblies to scan for extension points.
+
+
+
+ When overridden in a derived class, provides a custom list of assembly file
+ names to scan for extension points, such as
+ s, s, and
+ s.
+
+ This implementation returns the absolute paths of all the DLLs in the
+ .
+
+ A list of absolute paths of to assemblies to scan for extension points.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Replaces the format item in a specified System.String with the text equivalent
+ of the value of a corresponding System.Object instance in a specified array using
+ invariant culture as .
+
+ A composite format string.
+ An array containing zero or more objects to format.
+ The formatted string.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Specifies the value to return when the configured call is made.
+
+ The type of the return value.
+ The configuration to extend.
+ The value to return.
+ A configuration object.
+
+
+
+ Specifies the value to return when the configured call is made.
+
+ The type of the return value.
+ The configuration to extend.
+ The value to return.
+ A configuration object.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The type of the return value.
+ The configuration to extend.
+ A function that produces the return value.
+ A configuration object.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ The configuration to extend.
+ A function that produces the return value.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Configures the call to return the next value from the specified sequence each time it's called. Null will
+ be returned when all the values in the sequence has been returned.
+
+
+ The type of return value.
+
+
+ The call configuration to extend.
+
+
+ The values to return in sequence.
+
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Specifies that a call to the configured call should be applied no matter what arguments
+ are used in the call to the faked object.
+
+ The type of the interface.
+ The configuration.
+ A configuration object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Asserts that the specified call must have happened once or more.
+
+ The configuration to assert on.
+
+
+
+ Asserts that the specified call has not happened.
+
+ The configuration to assert on.
+
+
+
+ Provides the extension methods for .
+
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ The exception to throw when a call that matches is invoked.
+ Configuration object.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Configuration object.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
+
+
+
+ Throws the specified exception when the currently configured
+ call gets called.
+
+ The configuration to use.
+ The type of exception to throw.
+ Configuration object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed.
+
+ The type of fake object.
+ The configuration that is extended.
+ The to invoke.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Applies a predicate to constrain which calls will be considered for interception.
+
+ The return type of the where method.
+ The configuration object to extend.
+ A predicate for a fake object call.
+ The configuration object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Makes the fake strict, this means that any call to the fake
+ that has not been explicitly configured will throw an exception.
+
+ The type of fake object.
+ The configuration.
+ A configuration object.
+
+
+
+ Provides extension methods for .
+
+
+
+
+ Gets the argument at the specified index in the arguments collection
+ for the call.
+
+ The type of the argument to get.
+ The call to get the argument from.
+ The index of the argument.
+ The value of the argument with the specified index.
+
+
+
+ Gets the argument with the specified name in the arguments collection
+ for the call.
+
+ The type of the argument to get.
+ The call to get the argument from.
+ The name of the argument.
+ The value of the argument with the specified name.
+
+
+
+ Writes the calls in the collection to the specified output writer.
+
+ The type of the calls.
+ The calls to write.
+ The writer to write the calls to.
+
+
+
+ Writes all calls in the collection to the console.
+
+ The type of the calls.
+ The calls to write.
+
+
+
+ Gets the description of a call to a fake object.
+
+ The call to describe.
+ A description of the call.
+
+
+
+ Provides extensions for .
+
+
+
+
+ Specifies NumberOfTimes(1) to the repeat configuration.
+
+ The configuration to set repeat 1 to.
+
+
+
+ Specifies NumberOfTimes(2) to the repeat configuration.
+
+ The configuration to set repeat 2 to.
+
A strongly-typed resource class, for looking up localized strings, etc.
@@ -551,7 +1023,7 @@
- Looks up a localized string similar to Can not generate fake object for the class since no default constructor was found, specify a constructor call..
+ Looks up a localized string similar to Can not generate fake object for the class since no usable default constructor was found, specify a constructor call..
@@ -722,9 +1194,14 @@
Gets all calls made to the faked object.
-
+
- Access all types in all assemblies in the same directory as the FakeItEasy assembly.
+ Provides access to all types in:
+
+ - FakeItEasy,
+ - assemblies loaded into the current that reference FakeItEasy and
+ - assemblies whose paths are supplied to the constructor, that also reference FakeItEasy.
+
@@ -738,12 +1215,16 @@
The available types.
-
+
- Initializes a new instance of the class.
+ Loads the available types into the .
+
+ The full paths to assemblies from which to load types,
+ as well as assemblies loaded into the current .
+
-
+
Gets a collection of available types.
@@ -988,6 +1469,12 @@
Gets the resolved value.
+
+
+ Holds a formatter as well as the distance between a type to be formatted
+ and the type for which the formatted is registered.
+
+
Represents an event that happens when a call has been intercepted by a proxy.
@@ -1429,6 +1916,17 @@
Sets that the call should not be recorded by the fake manager.
+
+
+ Attempts to preserve the stack trace of an existing exception when rethrown via throw or throw ex.
+
+ Nicked from
+ http://weblogs.asp.net/fmarguerie/archive/2008/01/02/rethrowing-exceptions-and-preserving-the-full-call-stack-trace.aspx.
+ If reduced trust context (for example) precludes
+ invoking internal members on , the stack trace will not be preserved.
+
+ The exception whose stack trace needs preserving.
+
Represents a scope for fake objects, calls configured within a scope
@@ -1774,7 +2272,7 @@
- Looks up a localized string similar to No default constructor was found on the type {0}..
+ Looks up a localized string similar to No usable default constructor was found on the type {0}..
@@ -1982,6 +2480,19 @@
The reason the proxy generation failed.
+
+
+ Initializes a new instance of the class.
+ Creates a new instance representing a failed proxy
+ generation attempt due to an exception being caught.
+
+
+ The reason the proxy generation failed.
+
+
+ The exception thrown from the creation attempt.
+
+
Initializes a new instance of the class.
@@ -2118,13 +2629,13 @@
The fakeObjectCall is null.
The specified expression is not an expression where a call is made to a faked object.
-
+
Provides extension methods for configuring and asserting on faked objects
without going through the static methods of the Fake-class.
-
+
Configures the behavior of the fake object when a call that matches the specified
call happens.
@@ -2135,7 +2646,7 @@
An expression that specifies the calls to configure.
A configuration object.
-
+
Configures the behavior of the fake object when a call that matches the specified
call happens.
@@ -2145,7 +2656,7 @@
An expression that specifies the calls to configure.
A configuration object.
-
+
Configures the behavior of the fake object when a call is made to any method on the
object.
@@ -2154,12 +2665,12 @@
The faked object.
A configuration object.
-
+
Provides an extension method for configuring fake objects.
-
+
Gets an object that provides a fluent interface syntax for configuring
the fake object.
@@ -2248,6 +2759,20 @@
The calls to assert among.
A disposable used to close the scope.
+
+
+ Provides extension methods for .
+
+
+
+
+ Filters to contain only the calls that matches the call specification.
+
+ The type of fake the call is made on.
+ The calls to filter.
+ The call to match on.
+ A collection of the calls that matches the call specification.
+
Provides the base implementation for the IFakeConfigurator-interface.
@@ -2335,12 +2860,12 @@
For type.
-
+
Provides validation extensions for .
-
+
Constrains an argument so that it must be null (Nothing in VB).
@@ -2348,7 +2873,7 @@
The constraint manager to match the constraint.
A dummy argument value.
-
+
Constrains the string argument to contain the specified text.
@@ -2356,7 +2881,7 @@
The string the argument string should contain.
A dummy argument value.
-
+
Constrains the sequence so that it must contain the specified value.
@@ -2365,7 +2890,7 @@
The type of sequence.
A dummy argument value.
-
+
Constrains the string so that it must start with the specified value.
@@ -2373,7 +2898,7 @@
The value the string should start with.
A dummy argument value.
-
+
Constrains the string so that it must end with the specified value.
@@ -2381,14 +2906,14 @@
The value the string should end with.
A dummy argument value.
-
+
Constrains the string so that it must be null or empty.
The constraint manager to match the constraint.
A dummy argument value.
-
+
Constrains argument value so that it must be greater than the specified value.
@@ -2397,7 +2922,7 @@
The type of argument to constrain.
A dummy argument value.
-
+
The tested argument collection should contain the same elements as the
as the specified collection.
@@ -2407,7 +2932,7 @@
The type of argument to constrain.
A dummy argument value.
-
+
Tests that the IEnumerable contains no items.
@@ -2415,7 +2940,7 @@
The constraint manager to match the constraint.
A dummy argument value.
-
+
Tests that the passed in argument is equal to the specified value.
@@ -2424,7 +2949,16 @@
The value to compare to.
A dummy argument value.
-
+
+
+ Tests that the passed in argument is the same instance (reference) as the specified value.
+
+ The type of the argument.
+ The constraint manager to match the constraint.
+ The reference to compare to.
+ A dummy argument value.
+
+
Constrains the argument to be of the specified type.
@@ -2433,7 +2967,7 @@
The type to constrain the argument with.
A dummy value.
-
+
Constrains the argument with a predicate.
@@ -2453,7 +2987,7 @@
A dummy argument value.
-
+
Constrains the argument with a predicate.
@@ -2476,7 +3010,7 @@
A dummy argument value.
-
+
Constrains the argument with a predicate.
@@ -2493,7 +3027,7 @@
A dummy argument value.
-
+
Constrains the argument to be not null (Nothing in VB) and to match
the specified predicate.
@@ -2505,499 +3039,171 @@
to the output.
A dummy argument value.
-
+
- Provides static methods for the IOutputWriter-interface.
+ Provides extensions for .
-
+
Writes a new line to the writer.
The writer to write to.
The writer.
-
-
- Writes the format string to the writer.
-
- The writer to write to.
- The format string to write.
- Replacements for the format string.
- The writer.
-
-
-
- Writes the specified object to the writer (using the ToString-method of the object).
-
- The writer to write to.
- The value to write to the writer.
- The writer.
-
-
-
- Provides syntax for specifying the number of times a call must have been repeated when asserting on
- fake object calls.
-
- A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly);
-
-
-
- Specifies that a call must have been repeated a number of times
- that is validated by the specified repeatValidation argument.
-
- A predicate that specifies the number of times
- a call must have been made.
- A Repeated-instance.
-
-
-
- When implemented gets a value indicating if the repeat is matched
- by the Happened-instance.
-
- The repeat of a call.
- True if the repeat is a match.
-
-
-
- Asserts that a call has not happened at all.
-
-
-
-
- The call must have happened exactly the number of times that is specified in the next step.
-
-
-
-
- The call must have happened any number of times greater than or equal to the number of times that is specified
- in the next step.
-
-
-
-
- The call must have happened any number of times less than or equal to the number of times that is specified
- in the next step.
-
-
-
-
- Provides methods for creating recorders for self initializing fakes.
-
-
-
-
- Gets a recorder that records to and loads calls from the specified file.
-
- The file to use for recording.
- A recorder instance.
-
-
-
- Provides access to the file system.
-
-
-
-
- Opens the specified file in the specified mode.
-
- The full path and name of the file to open.
- The mode to open the file in.
- A stream for reading and writing the file.
-
-
-
- Gets a value indicating whether the specified file exists.
-
- The path and name of the file to check.
- True if the file exists.
-
-
-
- Creates a file with the specified name.
-
- The name of the file to create.
-
-
-
- Gets the value produced by the specified expression when compiled and invoked.
-
- The expression to get the value from.
- The value produced by the expression.
-
-
-
- An exception thrown when an expectation is not met (when asserting on fake object calls).
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Initializes a new instance of the class.
-
- The message.
-
-
-
- Initializes a new instance of the class.
-
- The message.
- The inner exception.
-
-
-
- Initializes a new instance of the class.
-
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
-
-
- Provides extension methods for fake objects.
-
-
-
-
- Specifies NumberOfTimes(1) to the IRepeatConfiguration{TFake}.
-
- The configuration to set repeat 1 to.
-
-
-
- Specifies NumberOfTimes(2) to the IRepeatConfiguration{TFake}.
-
- The configuration to set repeat 2 to.
-
-
-
- Specifies that a call to the configured call should be applied no matter what arguments
- are used in the call to the faked object.
-
- The type of the interface.
- The configuration.
- A configuration object.
-
-
-
- Filters to contain only the calls that matches the call specification.
-
- The type of fake the call is made on.
- The calls to filter.
- The call to match on.
- A collection of the calls that matches the call specification.
-
-
-
- Asserts that the specified call must have happened once or more.
-
- The configuration to assert on.
-
-
-
- Asserts that the specified has not happened.
-
- The configuration to assert on.
-
-
-
- Configures the call to return the next value from the specified sequence each time it's called. Null will
- be returned when all the values in the sequence has been returned.
-
-
- The type of return value.
-
-
- The call configuration to extend.
-
-
- The values to return in sequence.
-
-
-
-
- Specifies the value to return when the configured call is made.
-
- The type of the return value.
- The configuration to extend.
- The value to return.
- A configuration object.
-
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ Writes the format string to the writer.
- The type of the return value.
- The configuration to extend.
- A function that produces the return value.
- A configuration object.
+ The writer to write to.
+ The format string to write.
+ Replacements for the format string.
+ The writer.
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ Writes the specified object to the writer (using the ToString-method of the object).
- The type of the return value.
- Type of the first argument of the faked method call.
- The configuration to extend.
- A function that produces the return value.
- A configuration object.
- The signatures of the faked method and the do not match.
+ The writer to write to.
+ The value to write to the writer.
+ The writer.
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ Provides syntax for specifying the number of times a call must have been repeated when asserting on
+ fake object calls.
- The configuration to extend.
- A function that produces the return value.
- The type of the return value.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- A configuration object.
- The signatures of the faked method and the do not match.
+ A.CallTo(() => foo.Bar()).Assert(Happened.Once.Exactly);
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ Specifies that a call must have been repeated a number of times
+ that is validated by the specified repeatValidation argument.
- The configuration to extend.
- A function that produces the return value.
- The type of the return value.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- A configuration object.
- The signatures of the faked method and the do not match.
+ A predicate that specifies the number of times
+ a call must have been made.
+ A Repeated-instance.
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ When implemented gets a value indicating if the repeat is matched
+ by the Happened-instance.
- The configuration to extend.
- A function that produces the return value.
- The type of the return value.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- Type of the fourth argument of the faked method call.
- A configuration object.
- The signatures of the faked method and the do not match.
+ The repeat of a call.
+ True if the repeat is a match.
-
+
- Writes the calls in the collection to the specified text writer.
+ Asserts that a call has not happened at all.
- The type of the calls.
- The calls to write.
- The writer to write the calls to.
-
+
- Writes all calls in the collection to the console.
+ The call must have happened exactly the number of times that is specified in the next step.
- The type of the calls.
- The calls to write.
-
+
- Gets the argument at the specified index in the arguments collection
- for the call.
+ The call must have happened any number of times greater than or equal to the number of times that is specified
+ in the next step.
- The type of the argument to get.
- The call to get the argument from.
- The index of the argument.
- The value of the argument with the specified index.
-
+
- Gets the argument with the specified name in the arguments collection
- for the call.
+ The call must have happened any number of times less than or equal to the number of times that is specified
+ in the next step.
- The type of the argument to get.
- The call to get the argument from.
- The name of the argument.
- The value of the argument with the specified name.
-
+
- Makes the fake strict, this means that any call to the fake
- that has not been explicitly configured will throw an exception.
+ Provides methods for creating recorders for self initializing fakes.
- The type of fake object.
- The configuration.
- A configuration object.
-
+
- Applies a predicate to constrain which calls will be considered for interception.
+ Gets a recorder that records to and loads calls from the specified file.
-
- The return type of the where method.
-
-
- The configuration object to extend.
-
-
- A predicate for a fake object call.
-
- to the output.
-
- The configuration object.
-
+ The file to use for recording.
+ A recorder instance.
-
+
- Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed.
+ Provides access to the file system.
- The type of fake object.
- The configuration that is extended.
- The to invoke.
- The fake object.
-
+
- Executes the specified action when a matching call is being made.
+ Opens the specified file in the specified mode.
- The configuration that is extended.
- The to invoke.
- The type of fake object.
- Type of the first argument of the faked method call.
- The signatures of the faked method and the do not match.
- The fake object.
+ The full path and name of the file to open.
+ The mode to open the file in.
+ A stream for reading and writing the file.
-
+
- Executes the specified action when a matching call is being made.
+ Gets a value indicating whether the specified file exists.
- The configuration that is extended.
- The to invoke.
- The type of fake object.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- The signatures of the faked method and the do not match.
- The fake object.
+ The path and name of the file to check.
+ True if the file exists.
-
+
- Executes the specified action when a matching call is being made.
+ Creates a file with the specified name.
- The configuration that is extended.
- The to invoke.
- The type of fake object.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- The signatures of the faked method and the do not match.
- The fake object.
+ The name of the file to create.
-
+
- Executes the specified action when a matching call is being made.
+ Provides extension methods for .
- The configuration that is extended.
- The to invoke.
- The type of fake object.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- Type of the fourth argument of the faked method call.
- The signatures of the faked method and the do not match.
- The fake object.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Evaluates an expression by compiling it into a delegate and invoking the delegate.
- The configuration to use.
- The exception to throw when a call that matches is invoked.
- Configuration object.
+ The expression to be evaluated.
+ The value returned from the delegate compiled from the expression.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ An exception thrown when an expectation is not met (when asserting on fake object calls).
- The configuration to use.
- A function that returns the exception to throw when invoked.
- Configuration object.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Initializes a new instance of the class.
- The configuration to use.
- A function that returns the exception to throw when invoked.
- Type of the first argument of the faked method call.
- Configuration object.
- The signatures of the faked method and the do not match.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Initializes a new instance of the class.
- The configuration to use.
- A function that returns the exception to throw when invoked.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Configuration object.
- The signatures of the faked method and the do not match.
+ The message.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Initializes a new instance of the class.
- The configuration to use.
- A function that returns the exception to throw when invoked.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- Configuration object.
- The signatures of the faked method and the do not match.
+ The message.
+ The inner exception.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Initializes a new instance of the class.
- The configuration to use.
- A function that returns the exception to throw when invoked.
- Type of the first argument of the faked method call.
- Type of the second argument of the faked method call.
- Type of the third argument of the faked method call.
- Type of the fourth argument of the faked method call.
- Configuration object.
- The signatures of the faked method and the do not match.
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Provides helper methods for checking the value producer signature against call signatures.
- The configuration to use.
- The type of exception to throw.
- Configuration object.
@@ -3082,6 +3288,11 @@
Name of the argument.
The specified argument was null.
+
+
+ When applied to a parameter, this attribute provides an indication to code analysis that the argument has been null checked.
+
+
Provides static methods for accessing fake objects.
@@ -3411,22 +3622,12 @@
-
-
- Provides extension methods for the common uses.
-
-
-
+
- Replaces the format item in a specified System.String with the text equivalent
- of the value of a corresponding System.Object instance in a specified array using
- invariant culture as .
+ Provides extension methods for generic usage of .
- A composite format string.
- An array containing zero or more objects to format.
- The formatted string.
-
+
Gets an enumerable of tuples where the first value of each tuple is a value
from the first collection and the second value of each tuple is the value at the same position
@@ -3438,7 +3639,7 @@
The second of the collections to combine.
An enumerable of tuples.
-
+
Joins the collection to a string.
@@ -3448,7 +3649,7 @@
Separator to insert between each item.
A string representation of the collection.
-
+
Gets a dictionary containing the first element from the sequence that has a key specified by the key selector.
diff --git a/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll
new file mode 100644
index 0000000..83ea1bd
Binary files /dev/null and b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.dll differ
diff --git a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml
similarity index 91%
rename from packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml
rename to packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml
index 0eff340..3becdbe 100644
--- a/packages/FakeItEasy.1.11.0/lib/net35/FakeItEasy.xml
+++ b/packages/FakeItEasy.1.18.0/lib/sl50/FakeItEasy.xml
@@ -205,12 +205,12 @@
The index of the argument to get.
The argument at the specified index.
-
+
Provides validation extensions for .
-
+
Constrains an argument so that it must be null (Nothing in VB).
@@ -218,7 +218,7 @@
The constraint manager to match the constraint.
A dummy argument value.
-
+
Constrains the string argument to contain the specified text.
@@ -226,7 +226,7 @@
The string the argument string should contain.
A dummy argument value.
-
+
Constrains the sequence so that it must contain the specified value.
@@ -235,7 +235,7 @@
The type of sequence.
A dummy argument value.
-
+
Constrains the string so that it must start with the specified value.
@@ -243,7 +243,7 @@
The value the string should start with.
A dummy argument value.
-
+
Constrains the string so that it must end with the specified value.
@@ -251,14 +251,14 @@
The value the string should end with.
A dummy argument value.
-
+
Constrains the string so that it must be null or empty.
The constraint manager to match the constraint.
A dummy argument value.
-
+
Constrains argument value so that it must be greater than the specified value.
@@ -267,7 +267,7 @@
The type of argument to constrain.
A dummy argument value.
-
+
The tested argument collection should contain the same elements as the
as the specified collection.
@@ -277,7 +277,7 @@
The type of argument to constrain.
A dummy argument value.
-
+
Tests that the IEnumerable contains no items.
@@ -285,7 +285,7 @@
The constraint manager to match the constraint.
A dummy argument value.
-
+
Tests that the passed in argument is equal to the specified value.
@@ -294,7 +294,16 @@
The value to compare to.
A dummy argument value.
-
+
+
+ Tests that the passed in argument is the same instance (reference) as the specified value.
+
+ The type of the argument.
+ The constraint manager to match the constraint.
+ The reference to compare to.
+ A dummy argument value.
+
+
Constrains the argument to be of the specified type.
@@ -303,7 +312,7 @@
The type to constrain the argument with.
A dummy value.
-
+
Constrains the argument with a predicate.
@@ -323,7 +332,7 @@
A dummy argument value.
-
+
Constrains the argument with a predicate.
@@ -346,7 +355,7 @@
A dummy argument value.
-
+
Constrains the argument with a predicate.
@@ -363,7 +372,7 @@
A dummy argument value.
-
+
Constrains the argument to be not null (Nothing in VB) and to match
the specified predicate.
@@ -375,79 +384,121 @@
to the output.
A dummy argument value.
-
+
- Provides string formatting for arguments of type T when written in call lists.
+ Provides extension methods for .
- The type of the arguments which will be formatted by this instance.
-
+
- Provides string formatting for arguments when written in
- call lists.
+ Specifies that a call to the configured call should be applied no matter what arguments
+ are used in the call to the faked object.
+ The type of the interface.
+ The configuration.
+ A configuration object.
-
+
- Gets a string representing the specified argument value.
+ Provides extension methods for .
- The argument value to get as a string.
- A string representation of the value.
-
+
- Gets the type of arguments this formatter works on.
+ Asserts that the specified call must have happened once or more.
+ The configuration to assert on.
-
+
- Gets the priority of the formatter, when two formatters are
- registered for the same type the one with the highest
- priority is used.
+ Asserts that the specified call has not happened.
+ The configuration to assert on.
-
+
- Gets a string representing the specified argument value.
+ Provides extension methods for .
- The argument value to get as a string.
- A string representation of the value.
-
+
- Gets a string representing the specified argument value.
+ Executes the specified action when a matching call is being made. This overload can also be used to fake calls with arguments when they don't need to be accessed.
- The argument value to get as a string.
- A string representation of the value.
+ The type of fake object.
+ The configuration that is extended.
+ The to invoke.
+ The fake object.
-
+
- Gets the type of arguments this formatter works on.
+ Executes the specified action when a matching call is being made.
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
-
+
- Gets the priority of the formatter, when two formatters are
- registered for the same type the one with the highest
- priority is used.
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
+
+
+
+ Executes the specified action when a matching call is being made.
+ The configuration that is extended.
+ The to invoke.
+ The type of fake object.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ The signatures of the faked method and the do not match.
+ The fake object.
-
+
- Provides extension methods for the common uses.
+ Provides extension methods for .
-
+
- Replaces the format item in a specified System.String with the text equivalent
- of the value of a corresponding System.Object instance in a specified array using
- invariant culture as .
+ Filters to contain only the calls that matches the call specification.
- A composite format string.
- An array containing zero or more objects to format.
- The formatted string.
+ The type of fake the call is made on.
+ The calls to filter.
+ The call to match on.
+ A collection of the calls that matches the call specification.
-
+
+
+ Provides extension methods for generic usage of .
+
+
+
Gets an enumerable of tuples where the first value of each tuple is a value
from the first collection and the second value of each tuple is the value at the same position
@@ -459,7 +510,7 @@
The second of the collections to combine.
An enumerable of tuples.
-
+
Joins the collection to a string.
@@ -469,7 +520,7 @@
Separator to insert between each item.
A string representation of the collection.
-
+
Gets a dictionary containing the first element from the sequence that has a key specified by the key selector.
@@ -479,1390 +530,1793 @@
The key selector.
A dictionary.
-
+
- Provides the base for rules that can be built using the FakeConfiguration.
+ Provides the extension methods for .
-
+
- Represents a call rule that has a description of the calls the
- rule is applicable to.
+ Throws the specified exception when the currently configured
+ call gets called.
+ The configuration to use.
+ The exception to throw when a call that matches is invoked.
+ Configuration object.
-
+
- Allows for intercepting call to a fake object and
- act upon them.
+ Throws the specified exception when the currently configured
+ call gets called.
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Configuration object.
-
+
- Gets whether this interceptor is applicable to the specified
- call, if true is returned the Apply-method of the interceptor will
- be called.
+ Throws the specified exception when the currently configured
+ call gets called.
- The call to check for applicability.
- True if the interceptor is applicable.
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Applies an action to the call, might set a return value or throw
- an exception.
+ Throws the specified exception when the currently configured
+ call gets called.
- The call to apply the interceptor to.
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Gets the number of times this call rule is valid, if it's set
- to null its infinitely valid.
+ Throws the specified exception when the currently configured
+ call gets called.
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Writes a description of calls the rule is applicable to.
+ Throws the specified exception when the currently configured
+ call gets called.
- The writer.
+ The configuration to use.
+ A function that returns the exception to throw when invoked.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
+ Configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Gets if this rule is applicable to the specified call.
+ Throws the specified exception when the currently configured
+ call gets called.
- The call to validate.
- True if the rule applies to the call.
+ The configuration to use.
+ The type of exception to throw.
+ Configuration object.
-
+
- Writes a description of calls the rule is applicable to.
+ Provides extension methods for .
- The writer to write the description to.
-
+
- Gets or sets an action that is called by the Apply method to apply this
- rule to a fake object call.
+ Evaluates an expression by compiling it into a delegate and invoking the delegate.
+ The expression to be evaluated.
+ The value returned from the delegate compiled from the expression.
-
+
- Gets a collection of actions that should be invoked when the configured
- call is made.
+ Provides extension methods for configuring and asserting on faked objects
+ without going through the static methods of the Fake-class.
-
+
- Gets or sets values to apply to output and reference variables.
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+ The type of fake object to configure.
+ The type of the return value of the member.
+ The faked object to configure.
+ An expression that specifies the calls to configure.
+ A configuration object.
-
+
- Gets or sets a value indicating whether the base method of the fake object call should be
- called when the fake object call is made.
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+ The faked object to configure.
+ The type of fake object to configure.
+ An expression that specifies the calls to configure.
+ A configuration object.
-
+
- Gets or sets the number of times the configured rule should be used.
+ Configures the behavior of the fake object when a call is made to any method on the
+ object.
+ The type of the fake.
+ The faked object.
+ A configuration object.
-
+
- Gets a description of calls the rule is applicable to.
+ Provides an extension method for configuring fake objects.
-
-
+
- Configuration for any call to a faked object.
+ Gets an object that provides a fluent interface syntax for configuring
+ the fake object.
+ The type of the fake object.
+ The fake object to configure.
+ A configuration object.
+ The fakedObject was null.
+ The object passed in is not a faked object.
-
+
- Provides a way to configure predicates for when a call should be applied.
+ Provides extension methods for .
- The type of fake object that is going to be configured..
-
+
- Applies a predicate to constrain which calls will be considered for interception.
+ Gets the argument at the specified index in the arguments collection
+ for the call.
- A predicate for a fake object call.
- An action that writes a description of the predicate
- to the output.
- The configuration object.
+ The type of the argument to get.
+ The call to get the argument from.
+ The index of the argument.
+ The value of the argument with the specified index.
-
+
- Provides configuration methods for methods that does not have a return value and
- allows the use to specify validations for arguments.
+ Gets the argument with the specified name in the arguments collection
+ for the call.
+ The type of the argument to get.
+ The call to get the argument from.
+ The name of the argument.
+ The value of the argument with the specified name.
-
+
- Provides configuration methods for methods that does not have a return value.
+ Writes the calls in the collection to the specified output writer.
-
-
+ The type of the calls.
+ The calls to write.
+ The writer to write the calls to.
+
+
- Configuration that lets the developer specify that an exception should be
- thrown by a fake object call.
+ Writes all calls in the collection to the console.
+ The type of the calls.
+ The calls to write.
-
+
- Hides standard Object members to make fluent interfaces
- easier to read. Found in the source of Autofac:
- Based on blog post here:
-
+ Gets the description of a call to a fake object.
+ The call to describe.
+ A description of the call.
-
+
- Hides the ToString-method.
+ Provides extension methods for .
- A string representation of the implementing object.
-
+
- Determines whether the specified is equal to this instance.
+ Makes the fake strict, this means that any call to the fake
+ that has not been explicitly configured will throw an exception.
- The to compare with this instance.
-
- true if the specified is equal to this instance; otherwise, false.
-
+ The type of fake object.
+ The configuration.
+ A configuration object.
-
+
- Returns a hash code for this instance.
+ Provides extension methods for .
-
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
-
+
- Gets the type.
+ Provides extensions for .
- The exact runtime type of the current instance.
-
+
- Throws the specified exception when the currently configured
- call gets called.
+ Writes a new line to the writer.
- A function that creates the exception to throw.
- Configuration object.
+ The writer to write to.
+ The writer.
-
+
- Configuration for callbacks of fake object calls.
+ Writes the format string to the writer.
- The type of interface to return.
+ The writer to write to.
+ The format string to write.
+ Replacements for the format string.
+ The writer.
-
+
- Executes the specified action when a matching call is being made.
+ Writes the specified object to the writer (using the ToString-method of the object).
- The action to invoke.
- A configuration object.
+ The writer to write to.
+ The value to write to the writer.
+ The writer.
-
+
- Configuration that lets you specify that a fake object call should call it's base method.
+ Provides extensions for .
-
+
- When the configured method or methods are called the call
- will be delegated to the base method of the faked method.
+ Specifies NumberOfTimes(1) to the repeat configuration.
- A configuration object.
- The fake object is of an abstract type or an interface
- and no base method exists.
+ The configuration to set repeat 1 to.
-
+
- Lets the developer configure output values of out and ref parameters.
+ Specifies NumberOfTimes(2) to the repeat configuration.
+ The configuration to set repeat 2 to.
-
+
- Specifies output values for out and ref parameters. Specify the values in the order
- the ref and out parameters has in the configured call, any non out and ref parameters are ignored.
+ Provides extension methods for .
- The values.
- A configuration object.
-
+
- Allows the developer to assert on a call that's configured.
+ Specifies the value to return when the configured call is made.
+ The type of the return value.
+ The configuration to extend.
+ The value to return.
+ A configuration object.
-
+
- Asserts that the configured call has happened the number of times
- constrained by the repeatConstraint parameter.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
- A constraint for how many times the call
- must have happened.
- The call has not been called a number of times
- that passes the repeat constraint.
+ The type of the return value.
+ The configuration to extend.
+ A function that produces the return value.
+ A configuration object.
-
+
- Configures the specified call to do nothing when called.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ The configuration to extend.
+ A function that produces the return value.
A configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Provides configurations to validate arguments of a fake object call.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
- The type of interface to return.
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ A configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Configures the call to be accepted when the specified predicate returns true.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
- The argument predicate.
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
A configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Matches calls that has the return type specified in the generic type parameter.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
- The return type of the members to configure.
+ The configuration to extend.
+ A function that produces the return value.
+ The type of the return value.
+ Type of the first argument of the faked method call.
+ Type of the second argument of the faked method call.
+ Type of the third argument of the faked method call.
+ Type of the fourth argument of the faked method call.
A configuration object.
+ The signatures of the faked method and the do not match.
-
+
- Manages registration of a set of components in a DictionaryContainer.
+ Configures the call to return the next value from the specified sequence each time it's called. Null will
+ be returned when all the values in the sequence has been returned.
+
+ The type of return value.
+
+
+ The call configuration to extend.
+
+
+ The values to return in sequence.
+
-
+
- Registers the components of this module.
+ Provides extension methods for .
- The container to register components in.
-
+
- A factory that creates instances of the RecordingCallRuleType.
+ Provides extension methods for .
-
+
- Creates the specified fake object.
+ Replaces the format item in a specified System.String with the text equivalent
+ of the value of a corresponding System.Object instance in a specified array using
+ invariant culture as .
- The type of the fake.
- The fake object the rule belongs to.
- The rule that's being recorded.
- A RecordingCallRule instance.
+ A composite format string.
+ An array containing zero or more objects to format.
+ The formatted string.
-
+
- A factory responsible for creating start configuration for fake objects.
+ Provides extension methods for .
-
+
- Creates a start configuration for the specified fake object that fakes the
- specified type.
+ Provides extension methods for .
- The type of the fake object.
- The fake object to configure.
- A configuration object.
-
+
- An exception that can be thrown when something goes wrong with the configuration
- of a fake object.
+ Applies a predicate to constrain which calls will be considered for interception.
+ The return type of the where method.
+ The configuration object to extend.
+ A predicate for a fake object call.
+ The configuration object.
-
+
- Initializes a new instance of the class.
+ Provides string formatting for arguments of type T when written in call lists.
+ The type of the arguments which will be formatted by this instance.
-
+
- Initializes a new instance of the class.
+ Provides string formatting for arguments when written in
+ call lists.
- The message.
-
+
- Initializes a new instance of the class.
+ Gets a string representing the specified argument value.
- The message.
- The inner exception.
+ The argument value to get as a string.
+ A string representation of the value.
-
+
- Initializes a new instance of the class.
+ Gets the type of arguments this formatter works on.
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
+
- Handles the configuration of fake object given an expression specifying
- a call on a faked object.
+ Gets the priority of the formatter, when two formatters are
+ registered for the same type the one with the highest
+ priority is used.
-
+
- Lets you set up expectations and configure repeat for the configured call.
+ Gets a string representing the specified argument value.
+ The argument value to get as a string.
+ A string representation of the value.
-
+
- Provides configuration for method calls that has a return value.
+ Gets a string representing the specified argument value.
+ The argument value to get as a string.
+ A string representation of the value.
-
+
- Specifies the number of times for the configured event.
+ Gets the type of arguments this formatter works on.
- The number of times to repeat.
-
+
- A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration
- interfaces.
+ Gets the priority of the formatter, when two formatters are
+ registered for the same type the one with the highest
+ priority is used.
-
+
- Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>.
+ Provides the base for rules that can be built using the FakeConfiguration.
- The type of fake object that is configured.
-
+
- Configures a call that returns a value and allows the use to
- specify validations for arguments.
+ Represents a call rule that has a description of the calls the
+ rule is applicable to.
- The type of the member.
-
+
- Configures a call that returns a value.
+ Allows for intercepting call to a fake object and
+ act upon them.
- The type of the member.
-
+
- Specifies a function used to produce a return value when the configured call is made.
- The function will be called each time this call is made and can return different values
- each time.
+ Gets whether this interceptor is applicable to the specified
+ call, if true is returned the Apply-method of the interceptor will
+ be called.
- A function that produces the return value.
- A configuration object.
+ The call to check for applicability.
+ True if the interceptor is applicable.
-
+
- Configurations for when a configured call is recorded.
+ Applies an action to the call, might set a return value or throw
+ an exception.
+ The call to apply the interceptor to.
-
+
- Provides configuration from VisualBasic.
+ Gets the number of times this call rule is valid, if it's set
+ to null its infinitely valid.
-
+
- Provides methods for configuring a fake object.
+ Writes a description of calls the rule is applicable to.
- The type of fake object.
+ The writer.
-
+
- Configures the behavior of the fake object when a call that matches the specified
- call happens.
+ Gets if this rule is applicable to the specified call.
- The type of the return value of the member.
- An expression that specifies the calls to configure.
- A configuration object.
+ The call to validate.
+ True if the rule applies to the call.
-
+
- Configures the behavior of the fake object when a call that matches the specified
- call happens.
+ Writes a description of calls the rule is applicable to.
- An expression that specifies the calls to configure.
- A configuration object.
+ The writer to write the description to.
-
+
- Configures the behavior of the fake object when a call is made to any method on the
- object.
+ Gets or sets an action that is called by the Apply method to apply this
+ rule to a fake object call.
- A configuration object.
-
+
- A call rule that has been recorded.
+ Gets a collection of actions that should be invoked when the configured
+ call is made.
-
+
- A call rule that "sits and waits" for the next call, when
- that call occurs the recorded rule is added for that call.
+ Gets or sets values to apply to output and reference variables.
- The type of the fake.
-
+
- Provides access to a set of calls and a call matcher for these calls.
+ Gets or sets a value indicating whether the base method of the fake object call should be
+ called when the fake object call is made.
-
+
- Provides access to a call matcher.
+ Gets or sets the number of times the configured rule should be used.
-
+
- Gets a call predicate that can be used to check if a fake object call matches
- the specified constraint.
+ Gets a description of calls the rule is applicable to.
+
-
+
- Gets the set of calls.
+ Configuration for any call to a faked object.
-
+
- Represents a delegate that creates a configuration object from
- a fake object and the rule to build.
+ Provides a way to configure predicates for when a call should be applied.
- The rule that's being built.
- The fake object the rule is for.
- A configuration object.
+ The type of fake object that is going to be configured..
-
+
- Represents a predicate that matches a fake object call.
+ Applies a predicate to constrain which calls will be considered for interception.
+ A predicate for a fake object call.
+ An action that writes a description of the predicate
+ to the output.
+ The configuration object.
-
+
- Gets a value indicating whether the call matches the predicate.
+ Provides configuration methods for methods that does not have a return value and
+ allows the use to specify validations for arguments.
- The call to match.
- True if the call matches the predicate.
-
+
- Provides configuration of faked objects.
+ Provides configuration methods for methods that does not have a return value.
-
+
- Gets a configuration for the specified faked object.
+ Configuration that lets the developer specify that an exception should be
+ thrown by a fake object call.
- The type of the fake.
- The faked object to configure.
- A configuration object.
- The specified object is not a faked object.
- The fakedObject parameter was null.
-
+
- Access all types in all assemblies in the same directory as the FakeItEasy assembly.
+ Hides standard Object members to make fluent interfaces
+ easier to read. Found in the source of Autofac:
+ Based on blog post here:
+
-
+
- Provides a set of types that are available.
+ Hides the ToString-method.
+ A string representation of the implementing object.
-
+
- Gets a collection of available types.
+ Determines whether the specified is equal to this instance.
- The available types.
+ The to compare with this instance.
+
+ true if the specified is equal to this instance; otherwise, false.
+
-
+
- Initializes a new instance of the class.
+ Returns a hash code for this instance.
+
+ A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
+
-
+
- Gets a collection of available types.
+ Gets the type.
- The available types.
+ The exact runtime type of the current instance.
-
+
- Represents an argument and a dummy value to use for that argument.
+ Throws the specified exception when the currently configured
+ call gets called.
+ A function that creates the exception to throw.
+ Configuration object.
-
+
- Initializes a new instance of the class.
+ Configuration for callbacks of fake object calls.
- A value indicating if the dummy value was successfully resolved.
- The type of argument.
- The resolved value.
+ The type of interface to return.
-
+
- Gets a value indicating whether a dummy argument value was successfully
- resolved.
+ Executes the specified action when a matching call is being made.
+ The action to invoke.
+ A configuration object.
-
+
- Gets the type of the argument.
+ Configuration that lets you specify that a fake object call should call it's base method.
-
+
- Gets the resolved value.
+ When the configured method or methods are called the call
+ will be delegated to the base method of the faked method.
+ A configuration object.
+ The fake object is of an abstract type or an interface
+ and no base method exists.
-
+
- Represents an event that happens when a call has been intercepted by a proxy.
+ Lets the developer configure output values of out and ref parameters.
-
+
- Initializes a new instance of the class.
+ Specifies output values for out and ref parameters. Specify the values in the order
+ the ref and out parameters has in the configured call, any non out and ref parameters are ignored.
- The call.
+ The values.
+ A configuration object.
-
+
- Gets the call that was intercepted.
+ Allows the developer to assert on a call that's configured.
- The call.
-
+
- Keeps track of metadata for interceptions.
+ Asserts that the configured call has happened the number of times
+ constrained by the repeatConstraint parameter.
+ A constraint for how many times the call
+ must have happened.
+ The call has not been called a number of times
+ that passes the repeat constraint.
-
+
- Gets whether the rule has been called the number of times specified or not.
+ Configures the specified call to do nothing when called.
- True if the rule has not been called the number of times specified.
+ A configuration object.
-
+
- Gets or sets the number of times the rule has been used.
+ Provides configurations to validate arguments of a fake object call.
+ The type of interface to return.
-
+
- Gets or sets the rule this metadata object is tracking.
+ Configures the call to be accepted when the specified predicate returns true.
+ The argument predicate.
+ A configuration object.
-
+
- Manages attaching of argument constraints.
+ Matches calls that has the return type specified in the generic type parameter.
- The type of argument to constrain.
+ The return type of the members to configure.
+ A configuration object.
-
+
- Constrains the argument with a predicate.
+ Manages registration of a set of components in a DictionaryContainer.
- The predicate that should constrain the argument.
- An action that will be write a description of the constraint.
- A dummy argument value.
-
+
- Inverts the logic of the matches method.
+ Registers the components of this module.
+ The container to register components in.
-
+
- Validates an argument, checks that it's valid in a specific fake call.
+ A factory that creates instances of the RecordingCallRuleType.
-
+
- Writes a description of the argument constraint to the specified writer.
+ Creates the specified fake object.
-
- The writer.
-
+ The type of the fake.
+ The fake object the rule belongs to.
+ The rule that's being recorded.
+ A RecordingCallRule instance.
-
+
- Gets whether the argument is valid.
+ A factory responsible for creating start configuration for fake objects.
- The argument to validate.
- True if the argument is valid.
-
+
- Default implementation of .
+ Creates a start configuration for the specified fake object that fakes the
+ specified type.
+ The type of the fake object.
+ The fake object to configure.
+ A configuration object.
-
+
- Attaches a fake manager to the proxy so that intercepted
- calls can be configured.
+ An exception that can be thrown when something goes wrong with the configuration
+ of a fake object.
-
+
- Attaches a to the specified proxy, listening to
- the event raiser.
+ Initializes a new instance of the class.
- The type of the fake object proxy.
- The proxy to attach to.
- The event raiser to listen to.
-
+
- Gets the fake manager associated with the proxy.
+ Initializes a new instance of the class.
- The proxy to get the manager from.
- A fake manager.
+ The message.
-
+
- Attaches a to the specified proxy, listening to
- the event raiser.
+ Initializes a new instance of the class.
- The type of the fake object proxy.
- The proxy to attach to.
- The event raiser to listen to.
+ The message.
+ The inner exception.
-
+
- Gets the fake manager associated with the proxy.
+ Handles the configuration of fake object given an expression specifying
+ a call on a faked object.
- The proxy to get the manager from.
- A fake manager.
-
+
- Represents an object that can be tagged with another object. When implemented
- by a proxy returned from an FakeItEasy uses the tag
- to store a reference to the that handles that proxy.
+ Lets you set up expectations and configure repeat for the configured call.
-
+
- Gets or sets the tag.
+ Provides configuration for method calls that has a return value.
-
+
- The default implementation of the IFakeObjectCallFormatter interface.
+ Specifies the number of times for the configured event.
+ The number of times to repeat.
-
+
- Provides string formatting for fake object calls.
+ A combination of the IAfterCallSpecifiedConfiguration and IOutAndRefParametersConfiguration
+ interfaces.
-
+
- Gets a human readable description of the specified
- fake object call.
+ Aggregate of IReturnValueArgumentValidationConfiguration<T> and IWhereConfiguration<IAnyCallConfigurationWithReturnTypeSpecified<T>>.
- The call to get a description for.
- A description of the call.
+ The type of fake object that is configured.
-
+
- Gets a human readable description of the specified
- fake object call.
+ Configures a call that returns a value and allows the use to
+ specify validations for arguments.
- The call to get a description for.
- A description of the call.
+ The type of the member.
-
+
- Handles configuring of fake objects to delegate all their calls to a wrapped instance.
+ Configures a call that returns a value.
+ The type of the member.
-
+
- Manages configuration of fake objects to wrap instances.
+ Specifies a function used to produce a return value when the configured call is made.
+ The function will be called each time this call is made and can return different values
+ each time.
+ A function that produces the return value.
+ A configuration object.
-
+
- Configures the specified faked object to wrap the specified instance.
+ Configurations for when a configured call is recorded.
- The faked object to configure.
- The instance to wrap.
- The recorder to use, null if no recording should be made.
-
+
- Configures the specified faked object to wrap the specified instance.
+ Provides configuration from VisualBasic.
- The faked object to configure.
- The instance to wrap.
- The recorder to use, null if no recording should be made.
-
+
- A fake object container where delegates can be registered that are used to
- resolve fake objects.
+ Provides methods for configuring a fake object.
+ The type of fake object.
-
+
- A container that can create fake objects.
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+ The type of the return value of the member.
+ An expression that specifies the calls to configure.
+ A configuration object.
-
+
- Handles global configuration of fake object.
+ Configures the behavior of the fake object when a call that matches the specified
+ call happens.
+ An expression that specifies the calls to configure.
+ A configuration object.
-
+
- Applies base configuration to a fake object.
+ Configures the behavior of the fake object when a call is made to any method on the
+ object.
- The type the fake object represents.
- The fake object to configure.
+ A configuration object.
-
+
- Creates a dummy object of the specified type using the specified arguments if it's
- supported by the container, returns a value indicating if it's supported or not.
+ A call rule that has been recorded.
- The type of dummy object to create.
- The dummy object that was created if the method returns true.
- True if a dummy object can be created.
-
+
- Initializes a new instance of the class.
- Creates a new instance of the DelegateFakeObjectContainer.
+ A call rule that "sits and waits" for the next call, when
+ that call occurs the recorded rule is added for that call.
+ The type of the fake.
-
+
- Creates a fake object of the specified type using the specified arguments if it's
- supported by the container, returns a value indicating if it's supported or not.
+ Provides access to a set of calls and a call matcher for these calls.
- The type of dummy object to create.
- The fake object that was created if the method returns true.
- True if a fake object can be created.
-
+
- Configures the fake.
+ Provides access to a call matcher.
- The type of fake.
- The fake object.
-
+
- Registers the specified fake delegate.
+ Gets a call predicate that can be used to check if a fake object call matches
+ the specified constraint.
- The type of the return value of the method that encapsulates.
- The fake delegate.
-
+
- A IFakeObjectContainer implementation that uses MEF to load IFakeDefinitions and
- IFakeConfigurations.
+ Gets the set of calls.
-
+
- Initializes a new instance of the class.
+ Represents a delegate that creates a configuration object from
+ a fake object and the rule to build.
- The dummy definitions.
- The fake configurators.
+ The rule that's being built.
+ The fake object the rule is for.
+ A configuration object.
-
+
- Creates a fake object of the specified type using the specified arguments if it's
- supported by the container, returns a value indicating if it's supported or not.
+ Represents a predicate that matches a fake object call.
- The type of fake object to create.
- The fake object that was created if the method returns true.
- True if a fake object can be created.
-
+
- Applies base configuration to a fake object.
+ Gets a value indicating whether the call matches the predicate.
- The type the fake object represents.
- The fake object to configure.
+ The call to match.
+ True if the call matches the predicate.
-
+
- An exception that is thrown when there was an error creating a fake object.
+ Provides configuration of faked objects.
-
+
- Initializes a new instance of the class.
+ Gets a configuration for the specified faked object.
+ The type of the fake.
+ The faked object to configure.
+ A configuration object.
+ The specified object is not a faked object.
+ The fakedObject parameter was null.
-
+
- Initializes a new instance of the class.
+ Represents an argument and a dummy value to use for that argument.
- The message.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The message.
- The inner exception.
+ A value indicating if the dummy value was successfully resolved.
+ The type of argument.
+ The resolved value.
-
+
- Initializes a new instance of the class.
+ Gets a value indicating whether a dummy argument value was successfully
+ resolved.
- The that holds the serialized object data about the exception being thrown.
- The that contains contextual information about the source or destination.
-
- The parameter is null.
-
-
- The class name is null or is zero (0).
-
-
- Auto fake property rule.
+
- The central point in the API for proxied fake objects handles interception
- of fake object calls by using a set of rules. User defined rules can be inserted
- by using the AddRule-method.
+ Gets the type of the argument.
- Event rule.
- Object member rule.
- Property behavior rule.
- Property setter rule.
-
+
- Initializes a new instance of the class.
+ Gets the resolved value.
-
+
- Adds a call rule to the fake object.
+ Holds a formatter as well as the distance between a type to be formatted
+ and the type for which the formatted is registered.
- The rule to add.
-
+
- Adds a call rule last in the list of user rules, meaning it has the lowest priority possible.
+ Represents an event that happens when a call has been intercepted by a proxy.
- The rule to add.
-
+
- Removes the specified rule for the fake object.
+ Initializes a new instance of the class.
- The rule to remove.
+ The call.
-
+
- Adds an interception listener to the manager.
+ Gets the call that was intercepted.
- The listener to add.
+ The call.
-
+
- Removes any specified user rules.
+ Keeps track of metadata for interceptions.
-
+
- Gets the faked object.
+ Gets whether the rule has been called the number of times specified or not.
+ True if the rule has not been called the number of times specified.
-
+
- Gets the faked type.
+ Gets or sets the number of times the rule has been used.
-
+
- Gets the interceptions that are currently registered with the fake object.
+ Gets or sets the rule this metadata object is tracking.
-
+
- Gets a collection of all the calls made to the fake object within the current scope.
+ Manages attaching of argument constraints.
+ The type of argument to constrain.
-
+
- A delegate responsible for creating FakeObject instances.
+ Constrains the argument with a predicate.
- An instance of .
+ The predicate that should constrain the argument.
+ An action that will be write a description of the constraint.
+ A dummy argument value.
-
+
- Represents a call to a fake object at interception time.
+ Inverts the logic of the matches method.
-
+
- Represents a fake object call that can be edited.
+ Validates an argument, checks that it's valid in a specific fake call.
-
+
- Represents a call to a fake object.
+ Writes a description of the argument constraint to the specified writer.
+
+ The writer.
+
-
+
- Gets the method that's called.
+ Gets whether the argument is valid.
+ The argument to validate.
+ True if the argument is valid.
-
+
- Gets the arguments used in the call.
+ Default implementation of .
-
+
- Gets the faked object the call is performed on.
+ Attaches a fake manager to the proxy so that intercepted
+ calls can be configured.
-
+
- Sets the return value of the call.
+ Attaches a to the specified proxy, listening to
+ the event raiser.
- The return value to set.
+ The type of the fake object proxy.
+ The proxy to attach to.
+ The event raiser to listen to.
-
+
- Calls the base method of the faked type.
+ Gets the fake manager associated with the proxy.
+ The proxy to get the manager from.
+ A fake manager.
-
+
- Sets the value of the argument at the specified index in the parameters list.
+ Attaches a to the specified proxy, listening to
+ the event raiser.
- The index of the argument to set the value of.
- The value to set to the argument.
+ The type of the fake object proxy.
+ The proxy to attach to.
+ The event raiser to listen to.
-
+
- Freezes the call so that it can no longer be modified.
+ Gets the fake manager associated with the proxy.
- A completed fake object call.
+ The proxy to get the manager from.
+ A fake manager.
-
+
- Sets that the call should not be recorded by the fake manager.
+ Represents an object that can be tagged with another object. When implemented
+ by a proxy returned from an FakeItEasy uses the tag
+ to store a reference to the that handles that proxy.
-
+
- Represents a scope for fake objects, calls configured within a scope
- are only valid within that scope. Only calls made within a scope
- are accessible from within a scope so for example asserts will only
- assert on those calls done within the scope.
+ Gets or sets the tag.
-
+
- Provides access to all calls made to fake objects within a scope.
- Scopes calls so that only calls made within the scope are visible.
+ The default implementation of the IFakeObjectCallFormatter interface.
-
+
- Creates a new scope and sets it as the current scope.
+ Provides string formatting for fake object calls.
- The created scope.
-
+
- Creates a new scope and sets it as the current scope, using the specified
- container as the container for the new scope.
+ Gets a human readable description of the specified
+ fake object call.
- The container to use for the new scope.
- The created scope.
+ The call to get a description for.
+ A description of the call.
-
+
- Closes the scope.
+ Gets a human readable description of the specified
+ fake object call.
+ The call to get a description for.
+ A description of the call.
-
+
- Adds an intercepted call to the current scope.
+ Handles configuring of fake objects to delegate all their calls to a wrapped instance.
- The fake object.
- The call that is intercepted.
-
+
- Adds a fake object call to the current scope.
+ Manages configuration of fake objects to wrap instances.
- The fake object.
- The rule to add.
-
+
- Represents a completed call to a fake object.
+ Configures the specified faked object to wrap the specified instance.
+ The faked object to configure.
+ The instance to wrap.
+ The recorder to use, null if no recording should be made.
-
+
- Gets the value set to be returned from the call.
+ Configures the specified faked object to wrap the specified instance.
+ The faked object to configure.
+ The instance to wrap.
+ The recorder to use, null if no recording should be made.
-
+
- Used by the event raising rule of fake objects to get the event arguments used in
- a call to Raise.With.
+ A fake object container where delegates can be registered that are used to
+ resolve fake objects.
-
+
- Gets the sender of the event.
+ A container that can create fake objects.
-
+
- Gets the event arguments of the event.
+ Handles global configuration of fake object.
-
+
- Represents a listener for fake object calls, can be plugged into a
- FakeManager instance to listen to all intercepted calls.
+ Applies base configuration to a fake object.
- The OnBeforeCallIntercepted method will be invoked before the OnBeforeCallIntercepted method of any
- previously added listener. The OnAfterCallIntercepted method will be invoked after the OnAfterCallIntercepted
- method of any previously added listener.
+ The type the fake object represents.
+ The fake object to configure.
-
+