diff --git a/NzbDrone.App.Test/NzbDrone.App.Test.csproj b/NzbDrone.App.Test/NzbDrone.App.Test.csproj
index 6a2d1a06b..b928d92fc 100644
--- a/NzbDrone.App.Test/NzbDrone.App.Test.csproj
+++ b/NzbDrone.App.Test/NzbDrone.App.Test.csproj
@@ -35,8 +35,9 @@
..\packages\NBuilder.3.0.1\lib\FizzWare.NBuilder.dll
-
- ..\packages\FluentAssertions.1.5.0.0\Lib\.NetFramework 4.0\FluentAssertions.dll
+
+ False
+ ..\packages\FluentAssertions.1.6.0\Lib\net40\FluentAssertions.dll
..\packages\Moq.4.0.10827\lib\NET40\Moq.dll
diff --git a/NzbDrone.App.Test/packages.config b/NzbDrone.App.Test/packages.config
index 2f5ae3570..f8f24d5f2 100644
--- a/NzbDrone.App.Test/packages.config
+++ b/NzbDrone.App.Test/packages.config
@@ -1,6 +1,6 @@
-
+
diff --git a/NzbDrone.Common.Test/NzbDrone.Common.Test.csproj b/NzbDrone.Common.Test/NzbDrone.Common.Test.csproj
index 92c813335..2efe649e7 100644
--- a/NzbDrone.Common.Test/NzbDrone.Common.Test.csproj
+++ b/NzbDrone.Common.Test/NzbDrone.Common.Test.csproj
@@ -32,8 +32,9 @@
4
-
- ..\packages\FluentAssertions.1.5.0.0\Lib\.NetFramework 4.0\FluentAssertions.dll
+
+ False
+ ..\packages\FluentAssertions.1.6.0\Lib\net40\FluentAssertions.dll
..\packages\Moq.4.0.10827\lib\NET40\Moq.dll
diff --git a/NzbDrone.Common.Test/packages.config b/NzbDrone.Common.Test/packages.config
index 433116fba..1e23a9ff6 100644
--- a/NzbDrone.Common.Test/packages.config
+++ b/NzbDrone.Common.Test/packages.config
@@ -1,6 +1,6 @@
-
+
diff --git a/NzbDrone.Core.Test/IndexerTests.cs b/NzbDrone.Core.Test/IndexerTests.cs
index 570fc445e..f698d5af7 100644
--- a/NzbDrone.Core.Test/IndexerTests.cs
+++ b/NzbDrone.Core.Test/IndexerTests.cs
@@ -234,11 +234,13 @@ namespace NzbDrone.Core.Test
var result = mocker.Resolve().FetchEpisode(title, season, episode);
ExceptionVerification.MarkInconclusive(typeof(WebException));
-
+ ExceptionVerification.IgnoreWarns();
result.Should().NotBeEmpty();
result.Should().OnlyContain(r => r.CleanTitle == Parser.NormalizeTitle(title));
result.Should().OnlyContain(r => r.SeasonNumber == season);
result.Should().OnlyContain(r => r.EpisodeNumbers.Contains(episode));
+
+
}
[Test]
diff --git a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
index 29f1ff7b5..984b9ca9b 100644
--- a/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
+++ b/NzbDrone.Core.Test/NzbDrone.Core.Test.csproj
@@ -40,8 +40,9 @@
False
..\packages\NBuilder.3.0.1\lib\FizzWare.NBuilder.dll
-
- ..\packages\FluentAssertions.1.5.0.0\Lib\.NetFramework 4.0\FluentAssertions.dll
+
+ False
+ ..\packages\FluentAssertions.1.6.0\Lib\net40\FluentAssertions.dll
..\packages\Moq.4.0.10827\lib\NET40\Moq.dll
diff --git a/NzbDrone.Core.Test/packages.config b/NzbDrone.Core.Test/packages.config
index 890f6a162..2b248334a 100644
--- a/NzbDrone.Core.Test/packages.config
+++ b/NzbDrone.Core.Test/packages.config
@@ -1,7 +1,7 @@
-
+
diff --git a/NzbDrone.Update.Test/NzbDrone.Update.Test.csproj b/NzbDrone.Update.Test/NzbDrone.Update.Test.csproj
index c74d7370e..ed8e742aa 100644
--- a/NzbDrone.Update.Test/NzbDrone.Update.Test.csproj
+++ b/NzbDrone.Update.Test/NzbDrone.Update.Test.csproj
@@ -41,8 +41,9 @@
..\packages\NBuilder.3.0.1\lib\FizzWare.NBuilder.dll
-
- ..\packages\FluentAssertions.1.5.0.0\Lib\.NetFramework 4.0\FluentAssertions.dll
+
+ False
+ ..\packages\FluentAssertions.1.6.0\Lib\net40\FluentAssertions.dll
..\packages\Moq.4.0.10827\lib\NET40\Moq.dll
diff --git a/NzbDrone.Update.Test/packages.config b/NzbDrone.Update.Test/packages.config
index 9e783d89e..e03c1d022 100644
--- a/NzbDrone.Update.Test/packages.config
+++ b/NzbDrone.Update.Test/packages.config
@@ -1,6 +1,6 @@
-
+
diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj
index e496edc5f..cc49b0956 100644
--- a/NzbDrone.Web/NzbDrone.Web.csproj
+++ b/NzbDrone.Web/NzbDrone.Web.csproj
@@ -46,11 +46,6 @@
-
- False
- ..\Libraries\MVC3\Microsoft.Web.Infrastructure.dll
- True
-
False
..\packages\MiniProfiler.1.9\lib\net40\MvcMiniProfiler.dll
@@ -129,7 +124,6 @@
..\Libraries\TvdbLib.dll
- False
..\packages\WebActivator.1.4.2\lib\net40\WebActivator.dll
diff --git a/NzbDrone.Web/packages.config b/NzbDrone.Web/packages.config
index 8d8ceb030..8c518a518 100644
--- a/NzbDrone.Web/packages.config
+++ b/NzbDrone.Web/packages.config
@@ -1,16 +1,16 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/NzbDrone/Providers/ConfigProvider.cs b/NzbDrone/Providers/ConfigProvider.cs
index 6ce814ab0..b6e77cbea 100644
--- a/NzbDrone/Providers/ConfigProvider.cs
+++ b/NzbDrone/Providers/ConfigProvider.cs
@@ -4,7 +4,6 @@ using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using NLog;
-using NLog.Config;
using Ninject;
using NzbDrone.Common;
using NzbDrone.Model;
diff --git a/packages/FluentAssertions.1.5.0.0/FluentAssertions.1.5.0.0.nupkg b/packages/FluentAssertions.1.5.0.0/FluentAssertions.1.5.0.0.nupkg
deleted file mode 100644
index d7af623f9..000000000
Binary files a/packages/FluentAssertions.1.5.0.0/FluentAssertions.1.5.0.0.nupkg and /dev/null differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.dll b/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.dll
deleted file mode 100644
index 25fa46ee5..000000000
Binary files a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.dll b/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.dll
deleted file mode 100644
index 0e091fd15..000000000
Binary files a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.dll and /dev/null differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.dll b/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.dll
deleted file mode 100644
index 60dc367ba..000000000
Binary files a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.dll and /dev/null differ
diff --git a/packages/FluentAssertions.1.6.0/FluentAssertions.1.6.0.nupkg b/packages/FluentAssertions.1.6.0/FluentAssertions.1.6.0.nupkg
new file mode 100644
index 000000000..6ea99ea92
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/FluentAssertions.1.6.0.nupkg differ
diff --git a/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.dll b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.dll
new file mode 100644
index 000000000..c9101b995
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.dll differ
diff --git a/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.pdb b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.pdb
new file mode 100644
index 000000000..d5e83f515
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.pdb differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.xml b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.xml
similarity index 54%
rename from packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.xml
rename to packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.xml
index 0ff33172f..0a03f3004 100644
--- a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 4.0/FluentAssertions.xml
+++ b/packages/FluentAssertions.1.6.0/Lib/net35/FluentAssertions.xml
@@ -4,137 +4,11 @@
FluentAssertions
-
+
- Initializes a new instance of the class.
+ Contains a number of methods to assert that an yields the expected result.
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
Asserts that the current throws an exception of type .
@@ -171,494 +45,20 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the value is false.
+ Gets the that is being asserted.
-
+
- Asserts that the value is false.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is true.
+ Initializes a new instance of the class.
-
+
- Asserts that the value is true.
+ Contains a number of methods to assert that an is in the expected state.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value is equal to the specified value.
-
-
-
-
- Asserts that the value is equal to the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- An which can be used to chain assertions.
-
-
-
- Asserts that the object is assignable to a variable of type .
-
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is statisfied.
-
- The predicate which must be satisfied by the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the is satisfied.
-
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
-
-
-
- Asserts that the number of items in the collection matches the supplied amount.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
-
-
-
- Asserts that the number of items in the collection matches a condition stated by the .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
-
-
- Asserts that the collection does not contain any items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
-
-
- Asserts that the collection contains at least 1 item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
-
-
- Asserts that the collection does not contain any duplicate items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
-
-
- Asserts that the collection does not contain any null items.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is a subset of the .
-
-
-
-
- Asserts that the collection is a subset of the .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -713,13 +113,6 @@
The object to pass to the subject's method.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -874,6 +267,11 @@
Zero or more objects to format using the placeholders in .
+
+
+ Gets the object which value is being asserted.
+
+
Defines the way compares the expected exception
@@ -885,9 +283,19 @@
The message must match exactly, including the casing of the characters.
+
+
+ The message must match except for the casing of the characters.
+
+
- The message must contain the expected message.
+ The message must contain the exact text.
+
+
+
+
+ The message must contain the text except for the casing of the characters.
@@ -895,590 +303,11 @@
The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
-
+
- Asserts that the current is exactly equal to the value.
+ Contains a number of methods to assert that an is in the expected state.
-
-
- Asserts that the current is exactly equal to the value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
-
-
-
- Asserts that the current is before the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
-
-
-
- Asserts that the current is after the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
-
-
-
- Asserts that the current has the year.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
-
-
-
- Asserts that the current has the month.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
-
-
-
- Asserts that the current has the day.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
-
-
-
- Asserts that the current has the hour.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
-
-
-
- Asserts that the current has the minute.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
-
-
-
- Asserts that the current has the second.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the thrown exception has a message that exactly matches the
-
-
- The expected message of the exception.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Provides methods for asserting that the execution time of an satifies certain conditions.
-
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection contains the specified item.
-
-
-
-
- Asserts that the collection contains the specified item.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
Asserts that the current dictionary has not been initialized yet with an actual dictionary.
@@ -1517,17 +346,13 @@
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1540,17 +365,13 @@
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1599,9 +420,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
@@ -1609,9 +428,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1626,9 +443,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
@@ -1636,9 +451,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1652,18 +465,14 @@
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1677,18 +486,14 @@
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1702,18 +507,14 @@
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1727,18 +528,14 @@
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1752,18 +549,14 @@
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1777,18 +570,14 @@
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1799,21 +588,17 @@
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1826,23 +611,15 @@
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1856,18 +633,14 @@
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1881,24 +654,16 @@
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1912,6 +677,802 @@
Gets the object which value is being asserted.
+
+
+ Contains a number of methods to assert that a is in the correct state.
+
+
+
+
+ Asserts that the is .
+
+
+
+
+ Asserts that the is .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is not .
+
+
+
+
+ Asserts that the is not .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is not equal to the GUID.
+
+ The unexpected value to compare the actual value with.
+
+
+
+ Asserts that the is not equal to the GUID.
+
+ The unexpected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified methods
+ The methods.
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the that contains the specified methods.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Allows for fluent selection of methods of a type through reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the methods that return the specified type
+
+
+
+
+ Only select the methods that are decorated with an attribute of the specified type.
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Determines whether the specified method has a special name (like properties and events).
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the methods that are public or internal.
+
+
+
+
+ Only select the methods without a return value
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Is responsible for validating the equality of one or more properties of a subject with another object.
+
+
+
+
+ Provides methods for asserting that the execution time of an satifies certain conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The action of which the execution time must be asserted.
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Provides methods for asserting that the execution time of an object member satifies certain conditions.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+
+
+ Contains a number of extension methods for floating point .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified properties
+ The properties.
+
+
+
+ Asserts that the selected properties are virtual.
+
+
+
+
+ Asserts that the selected properties are virtual.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the that contains the specified properties.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Allows for fluent selection of properties of a type through reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the properties that are decorated with an attribute of the specified type.
+
+
+
+
+ Only select the properties that return the specified type
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the properties that have a public or internal getter.
+
+
+
+
+ Dedicated class for comparing two strings and generating consistent error messages.
+
+
+
+
+ Gets or sets a value indicating whether the subject should not match the pattern.
+
+
+
+
+ Gets or sets a value indicating whether the matching process should ignore any casing difference.
+
+
+
+
+ Extension methods for getting method and property selectors for a type.
+
+
+
+
+ Returns a method selector for the current .
+
+
+
+
+ Returns a property selector for the current .
+
+
+
+
+ Extension methods on to allow for a more fluent way of specifying a .
+
+
+ Instead of
+
+ new DateTime(2011, 3, 10)
+
+ you can write 3.March(2011)
+
+ Or even
+
+ 3.March(2011).At(09, 30)
+
+
+
+
+
+ Returns a new value for the specified and
+ in the month January.
+
+
+
+
+ Returns a new value for the specified and
+ in the month February.
+
+
+
+
+ Returns a new value for the specified and
+ in the month March.
+
+
+
+
+ Returns a new value for the specified and
+ in the month April.
+
+
+
+
+ Returns a new value for the specified and
+ in the month May.
+
+
+
+
+ Returns a new value for the specified and
+ in the month June.
+
+
+
+
+ Returns a new value for the specified and
+ in the month July.
+
+
+
+
+ Returns a new value for the specified and
+ in the month August.
+
+
+
+
+ Returns a new value for the specified and
+ in the month September.
+
+
+
+
+ Returns a new value for the specified and
+ in the month October.
+
+
+
+
+ Returns a new value for the specified and
+ in the month November.
+
+
+
+
+ Returns a new value for the specified and
+ in the month December.
+
+
+
+
+ Returns a new value for the specified and .
+
+
+
+
+ Returns a new value for the specified and time with the specified
+ , and optionally .
+
+
+
+
+ Returns a new value that is the current before the
+ specified .
+
+
+
+
+ Returns a new value that is the current after the
+ specified .
+
+
+
+
+ Contains a number of methods to assert that an integral number is in the correct state.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Asserts that a value is within a range.
@@ -1947,14 +1508,230 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that a nullable numeric value is not null.
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+
+
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
-
+
- Asserts that a nullable numeric value is not null.
+ Asserts that the time difference of the current is greater than zero.
+
+
+
+
+ Asserts that the time difference of the current is greater than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
A formatted phrase as is supported by explaining why the assertion
@@ -1964,14 +1741,14 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that a nullable numeric value is null.
+ Asserts that a nullable value is null.
-
+
- Asserts that a nullable numeric value is null.
+ Asserts that a nullable value is null.
A formatted phrase as is supported by explaining why the assertion
@@ -1979,550 +1756,635 @@
Zero or more objects to format using the placeholders in .
-
+
-
+
- Gets the object which value is being asserted.
+ Is thrown when the detects an object that was already processed.
-
+
- Asserts that the value of an object equals another object when using it's method.
+ Simple class for detecting an attempt to process an object that were already processed.
-
+
- Asserts that an object equals another object using its implementation.
+ Extension methods on to allow for a more fluent way of specifying a .
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
+
+ Instead of
+
+ TimeSpan.FromHours(12)
+
+ you can write
+
+ 12.Hours()
+
+ Or even
+
+ 12.Hours().And(30.Minutes()).
+
+
-
-
- Asserts that an object does not equal another object using it's method.
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Provides methods for selecting one or properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Is responsible for validating the equality of one or more properties of a subject with another object.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is equal to another string.
-
-
- The expected string.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
-
- The expected string.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
-
-
- Ensures that a string is either null or empty.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is neither null nor empty nor white space
-
-
-
-
- Ensures that a string is neither null nor empty nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is either null or empty or white space
-
-
-
-
- Ensures that a string is either null or empty or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Dedicated class for comparing two strings and generating consistent error messages.
-
-
-
-
- Gets or sets a value indicating whether the subject should not match the pattern.
-
-
-
-
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
-
-
-
-
- Provides methods for asserting that two objects differ in certain ways.
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
-
-
-
+
Returns a based on a number of milliseconds.
-
+
Returns a based on a number of seconds.
-
+
+
+ Returns a based on a number of seconds, and add the specified
+ .
+
+
+
Returns a based on a number of minutes.
-
+
+
+ Returns a based on a number of minutes, and add the specified
+ .
+
+
+
Returns a based on a number of hours.
-
+
+
+ Returns a based on a number of hours, and add the specified
+ .
+
+
+
Returns a based on a number of days.
+
+
+ Returns a based on a number of days, and add the specified
+ .
+
+
+
+
+ Convenience method for chaining multiple calls to the methods provided by this class.
+
+
+ 23.Hours().And(59.Minutes())
+
+
+
+
+ Contains a number of methods to assert that a reference type object is in the expected state.
+
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the object is assignable to a variable of type .
+
+ The type to which the object should be assignable.
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the object is assignable to a variable of type .
+
+ The type to which the object should be assignable.
+ The reason why the object should be assignable to the type.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is statisfied.
+
+ The predicate which must be satisfied by the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ The reason why the predicate should be satisfied.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ The reason why the predicate should be satisfied.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+
+
+ Asserts that the value is false.
+
+
+
+
+ Asserts that the value is false.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is true.
+
+
+
+
+ Asserts that the value is true.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the number of items in the collection matches the supplied amount.
+
+ The expected number of items in the collection.
+
+
+
+ Asserts that the number of items in the collection matches the supplied amount.
+
+ The expected number of items in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the number of items in the collection matches a condition stated by the .
+
+ A predicate that yields the number of items that is expected to be in the collection.
+
+
+
+ Asserts that the number of items in the collection matches a condition stated by the .
+
+ A predicate that yields the number of items that is expected to be in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any items.
+
+
+
+
+ Asserts that the collection does not contain any items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection contains at least 1 item.
+
+
+
+
+ Asserts that the collection contains at least 1 item.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any duplicate items.
+
+
+
+
+ Asserts that the collection does not contain any duplicate items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any null items.
+
+
+
+
+ Asserts that the collection does not contain any null items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the expected items.
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ A params array with the expected elements.
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the elements that are not expected.
+
+
+
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the elements that are not expected.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ A params array with the expected elements.
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the unexpected elements.
+
+
+
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the unexpected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection only contains items that are assignable to the type .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection is a subset of the .
+
+ An with the expected superset.
+
+
+
+ Asserts that the collection is a subset of the .
+
+ An with the expected superset.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection is not a subset of the .
+
+ An with the unexpected superset.
+
+
+
+ Asserts that the collection is not a subset of the .
+
+ An with the unexpected superset.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Assert that the current collection has the same number of elements as .
+
+ The other collection with the same expected number of elements
+
+
+
+ Assert that the current collection has the same number of elements as .
+
+ The other collection with the same expected number of elements
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has not been initialized yet with an actual collection.
+
+
+
+
+ Asserts that the current collection has not been initialized yet with an actual collection.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has been initialized with an actual collection.
+
+
+
+
+ Asserts that the current collection has been initialized with an actual collection.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has the supplied at the
+ supplied .
+
+ The index where the element is expected
+ The expected element
+
+
+
+ Asserts that the current collection has the supplied at the
+ supplied .
+
+ The index where the element is expected
+ The expected element
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection only contains items that are assignable to the type .
+
+
+
+
+ Asserts that the current collection does not contain the supplied item.
+
+ The element that is not expected to be in the collection
+
+
+
+ Asserts that the current collection does not contain the supplied item.
+
+ The element that is not expected to be in the collection
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Finds the first index at which the does not match the
@@ -2545,42 +2407,6 @@
Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
Provides extension methods for monitoring and querying events.
@@ -2596,9 +2422,9 @@
Asserts that an object has raised a particular event at least once.
-
- The name of the event that should have been raised.
-
+ The object exposing the event.
+ The name of the event that should have been raised.
+
You must call on the same object prior to this call so that Fluent Assertions can
subscribe for the events of the object.
@@ -2608,6 +2434,7 @@
Asserts that an object has raised a particular event at least once.
+ The object exposing the event.
The name of the event that should have been raised.
@@ -2627,6 +2454,7 @@
Asserts that an object has not raised a particular event.
+ The object exposing the event.
The name of the event that should not be raised.
@@ -2639,6 +2467,7 @@
Asserts that an object has not raised a particular event.
+ The object exposing the event.
The name of the event that should not be raised.
@@ -2667,6 +2496,10 @@
Asserts that an object has raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -2692,6 +2525,10 @@
Asserts that an object has not raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -2772,25 +2609,1915 @@
The name of the event that's recorded
+
+
+ Static methods that aid in generic event subscription
+
+
+
+
+ Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
+ when invoked.
+
+
+
+
+ Finds the Return Type of a Delegate.
+
+
+
+
+ Returns an Array of Types that make up a delegate's parameter signature.
+
+
+
+
+ Returns an array of types appended with an EventRecorder reference at the beginning.
+
+
+
+
+ Returns T/F Dependent on a Type Being a Delegate.
+
+
+
+
+ Returns the MethodInfo for the Delegate's "Invoke" Method.
+
+
+
+
+ This class is used to store data about an intercepted event
+
+
+
+
+ Default constructor stores the parameters the event was raised with
+
+
+
+
+ Parameters for the event
+
+
Simple dictionary that uses a to the event source as the key.
This should ensure the Garbage Collector can still clean-up the event source object.
-
+
- This class is used to store data about an intercepted event
+ Indicates whether the current can handle the specified .
+
+ The value for which to create a .
+
+ true if the current can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Determines whether this instance can handle the specified value.
+
+ The value.
+
+ true if this instance can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Provides services for formatting an object being used in an assertion in a human readable format.
-
+
- Default constructor stores the parameters the event was raised with
+ A list of objects responsible for formatting the objects represented by placeholders.
-
+
- Parameters for the event
+ Returns a human-readable representation of a particular object.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a human-readable representation of a particular object that starts on a new line.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+ The expected item.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection contains some extra items in addition to the original items.
+
+ An of expected items.
+ Additional items that are expected to be contained by the collection.
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains extension methods for custom assertions in unit tests.
+
+
+
+
+ Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
+ overloads.
+
+
+
+
+ Provides methods for asserting the execution time of a method or property.
+
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
+
+
+
+ Provides methods for asserting the execution time of a method or property.
+
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
+
+
+
+ Asserts that the throws an exception.
+
+
+ The type of the exception it should throw.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
+
+
+
+ Asserts that the throws an exception.
+
+ A reference to the method or property.
+
+ The type of the exception it should throw.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
+
+
+
+ Asserts that the does not throw a particular exception.
+
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
+
+
+
+ Asserts that the does not throw a particular exception.
+
+ The current method or property.
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the does not throw any exception at all.
+
+
+
+
+ Asserts that the does not throw any exception at all.
+
+ The current method or property.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Asserts that the properties of an object matches those of another object.
+
+
+
+
+ Returns a object that can be used to assert the
+ current .
+
+
+
+
+ Returns a object that can be used to assert the methods returned by the
+ current .
+
+
+
+
+
+ Returns a object that can be used to assert the properties returned by the
+ current .
+
+
+
+
+
+ Safely casts the specified object to the type specified through .
+
+
+ Has been introduced to allow casting objects without breaking the fluent API.
+
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is before the specified value.
+
+ The that the current value is expected to be before.
+
+
+
+ Asserts that the current is before the specified value.
+
+ The that the current value is expected to be before.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+ The that the current value is expected to be on or before.
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+ The that the current value is expected to be on or before.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is after the specified value.
+
+ The that the current value is expected to be after.
+
+
+
+ Asserts that the current is after the specified value.
+
+ The that the current value is expected to be after.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+ The that the current value is expected to be on or after.
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+ The that the current value is expected to be on or after.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the year.
+
+ The expected year of the current value.
+
+
+
+ Asserts that the current has the year.
+
+ The expected year of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the month.
+
+ The expected month of the current value.
+
+
+
+ Asserts that the current has the month.
+
+ The expected month of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the day.
+
+ The expected day of the current value.
+
+
+
+ Asserts that the current has the day.
+
+ The expected day of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the hour.
+
+ The expected hour of the current value.
+
+
+
+ Asserts that the current has the hour.
+
+ The expected hour of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the minute.
+
+ The expected minutes of the current value.
+
+
+
+ Asserts that the current has the minute.
+
+ The expected minutes of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the second.
+
+ The expected seconds of the current value.
+
+
+
+ Asserts that the current has the second.
+
+ The expected seconds of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ exceeds the specified compared to another .
+
+
+ The amount of time that the current should exceed compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is equal to or exceeds the specified compared to another .
+
+
+ The amount of time that the current should be equal or exceed compared to
+ another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs exactly the specified compared to another .
+
+
+ The amount of time that the current should differ exactly compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is within the specified compared to another .
+
+
+ The amount of time that the current should be within another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs at maximum the specified compared to another .
+
+
+ The maximum amount of time that the current should differ compared to another .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that an is in the correct state.
+
+
+
+
+ Asserts that the thrown exception has a message that exactly matches the
+
+
+ The expected message of the exception.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+ The reason why the inner exception should be of the supplied type.
+ The parameters used when formatting the .
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Gets the exception object of the exception thrown.
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable numeric value has the expected value.
+
+
+
+
+ Asserts that a nullable numeric value is not null.
+
+
+
+
+ Asserts that a nullable numeric value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the value of an object equals another object when using it's method.
+
+ The expected value
+
+
+
+ Asserts that an object equals another object using its implementation.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that an object does not equal another object using it's method.
+
+ The unexpected value
+
+
+
+ Asserts that an object does not equal another object using it's method.
+
+ The unexpected value
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that an object reference refers to the exact same object as another object reference.
+
+ The expected object
+
+
+
+ Asserts that an object reference refers to the exact same object as another object reference.
+
+ The expected object
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that an object reference refers to a different object than another object reference refers to.
+
+ The unexpected object
+
+
+
+ Asserts that an object reference refers to a different object than another object reference refers to.
+
+ The unexpected object
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is null.
+
+
+
+
+ Asserts that the object is null.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is not null.
+
+
+
+
+ Asserts that the object is not null.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
+ the values of all properties.
+
+
+
+
+ Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
+ the values of all properties.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
+
+
+
+
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Provides methods for selecting one or more properties of an object and comparing them with another object.
+
+
+
+
+ Includes all properties of when comparing the subject with another object using .
+
+
+
+
+ Includes all properties of including those of the run-time type when comparing the subject
+ with another object using .
+
+
+
+
+ Includes all properties of when comparing the subject with another object using ,
+ except those that the other object does not have.
+
+
+
+
+ Perform recursive property comparison of the child properties for objects that are of incompatible type.
+
+
+
+
+ Includes all properties of when comparing the subject with another object using ,
+ except those specified using a property expression.
+
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
+
+
+
+ Excludes the properties specified by the from the comparison.
+
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
+
+
+
+ Includes only those properties of when comparing the subject with another object using
+ that were specified using a property expression.
+
+ A single property expression to include.
+ Optional list of additional property expressions to include.
+
+
+
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
+
+ The object to compare the current object with
+
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
+
+
+
+
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
+
+ The object to compare the current object with
+
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Asserts that a string is equal to another string.
+
+ The expected string.
+
+
+
+ Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
+
+ The expected string.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
+
+
+ The string that the subject is expected to be equivalent to.
+
+
+
+
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
+
+
+ The string that the subject is expected to be equivalent to.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string contains another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should contain.
+
+
+
+
+ Asserts that a string contains another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should contain.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not contain another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should not contain.
+
+
+
+
+ Asserts that a string does not contain another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should not contain.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is .
+
+
+
+
+ Asserts that a string is .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not .
+
+
+
+
+ Asserts that a string is not .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+
+
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is null.
+
+
+
+
+ Asserts that a string is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not null.
+
+
+
+
+ Asserts that a string is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is neither null nor .
+
+
+
+
+ Asserts that a string is neither null nor .
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is either null or .
+
+
+
+
+ Asserts that a string is either null or .
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is neither null nor nor white space
+
+
+
+
+ Asserts that a string is neither null nor nor white space
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is either null or or white space
+
+
+
+
+ Asserts that a string is either null or or white space
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that two objects differ in the expected way.
+
+
+ You can use the and for a more fluent
+ way of specifying a or a .
+
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
+
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a occurs a specified amount of time after another .
+
+
+ The to compare the subject with.
+
+
+
+
+ Asserts that a occurs a specified amount of time after another .
+
+
+ The to compare the subject with.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Provides the logic and the display text for a .
@@ -2869,42 +4596,108 @@
Gets an object that wraps and executes a conditional or unconditional verification.
-
+
- Determines whether this instance can handle the specified value.
-
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
-
-
- Returns a that represents this instance.
-
- The value.
-
- A that represents this instance.
-
-
-
-
- Provides services for formatting an object being used in an assertion in a human readable format.
+ Contains a number of methods to assert that a meets certain expectations.
-
+
- A list of objects responsible for formatting the objects represented by placeholders.
+ Initializes a new instance of the class.
-
+
- Returns a human-readable representation of a particular object.
+ Asserts that the current type is equal to the specified type.
-
+
- Returns a human-readable representation of a particular object that starts on a new line.
+ Asserts that the current type is equal to the specified type.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is decorated with the specified .
+
+
+
+
+ Asserts that the is decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
@@ -2912,6 +4705,11 @@
Provides a fluent API for verifying an arbitrary condition.
+
+
+ Represents the phrase that can be used in as a placeholder for the reason of an assertion.
+
+
Initializes a new instance of the class.
@@ -2922,6 +4720,29 @@
Gets the name or identifier of the current subject, or a default value if the subject is not known.
+
+
+ Specify the condition that must be satisfied.
+
+ If true the verification will be succesful.
+
+
+
+ Specify a predicate that with the condition that must be satisfied.
+
+
+
+
+ Specify the reason why you expect the condition to be true.
+
+
+ A formatted phrase explaining why the condition should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
Define the failure message for the verification.
diff --git a/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.dll b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.dll
new file mode 100644
index 000000000..0b189a451
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.dll differ
diff --git a/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.pdb b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.pdb
new file mode 100644
index 000000000..cd9630bd4
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.pdb differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.xml b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.xml
similarity index 54%
rename from packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.xml
rename to packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.xml
index 47fa917dd..810648b15 100644
--- a/packages/FluentAssertions.1.5.0.0/Lib/.NetFramework 3.5/FluentAssertions.xml
+++ b/packages/FluentAssertions.1.6.0/Lib/net40/FluentAssertions.xml
@@ -4,6 +4,320 @@
FluentAssertions
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Contains extension methods for custom assertions in unit tests.
+
+
+
+
+ Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
+ overloads.
+
+
+
+
+ Provides methods for asserting the execution time of a method or property.
+
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
+
+
+
+ Provides methods for asserting the execution time of a method or property.
+
+ A reference to the method or property to measure the execution time of.
+
+ Returns an object for asserting that the execution time matches certain conditions.
+
+
+
+
+ Asserts that the throws an exception.
+
+
+ The type of the exception it should throw.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
+
+
+
+ Asserts that the throws an exception.
+
+ A reference to the method or property.
+
+ The type of the exception it should throw.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+ Returns an object that allows asserting additional members of the thrown exception.
+
+
+
+
+ Asserts that the does not throw a particular exception.
+
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
+
+
+
+ Asserts that the does not throw a particular exception.
+
+ The current method or property.
+
+ The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the does not throw any exception at all.
+
+
+
+
+ Asserts that the does not throw any exception at all.
+
+ The current method or property.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Forces enumerating a collection. Should be used to assert that a method that uses the
+ yield keyword throws a particular exception.
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Asserts that the properties of an object matches those of another object.
+
+
+
+
+ Returns a object that can be used to assert the
+ current .
+
+
+
+
+ Returns a object that can be used to assert the methods returned by the
+ current .
+
+
+
+
+
+ Returns a object that can be used to assert the properties returned by the
+ current .
+
+
+
+
+
+ Safely casts the specified object to the type specified through .
+
+
+ Has been introduced to allow casting objects without breaking the fluent API.
+
+
+
+
+
+ Contains a number of methods to assert that an yields the expected result.
+
+
Asserts that the current throws an exception of type .
@@ -40,9 +354,555 @@
Zero or more objects to format using the placeholders in .
-
+
- Initializes a new instance of the class.
+ Gets the that is being asserted.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+
+
+ Asserts that the value is false.
+
+
+
+
+ Asserts that the value is false.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is true.
+
+
+
+
+ Asserts that the value is true.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Contains a number of methods to assert that a reference type object is in the expected state.
+
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the object is assignable to a variable of type .
+
+ The type to which the object should be assignable.
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the object is assignable to a variable of type .
+
+ The type to which the object should be assignable.
+ The reason why the object should be assignable to the type.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is statisfied.
+
+ The predicate which must be satisfied by the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ The reason why the predicate should be satisfied.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ An which can be used to chain assertions.
+
+
+
+ Asserts that the is satisfied.
+
+ The predicate which must be statisfied by the .
+ The reason why the predicate should be satisfied.
+ The parameters used when formatting the .
+ An which can be used to chain assertions.
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Asserts that the number of items in the collection matches the supplied amount.
+
+ The expected number of items in the collection.
+
+
+
+ Asserts that the number of items in the collection matches the supplied amount.
+
+ The expected number of items in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the number of items in the collection matches a condition stated by the .
+
+ A predicate that yields the number of items that is expected to be in the collection.
+
+
+
+ Asserts that the number of items in the collection matches a condition stated by the .
+
+ A predicate that yields the number of items that is expected to be in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any items.
+
+
+
+
+ Asserts that the collection does not contain any items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection contains at least 1 item.
+
+
+
+
+ Asserts that the collection contains at least 1 item.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any duplicate items.
+
+
+
+
+ Asserts that the collection does not contain any duplicate items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection does not contain any null items.
+
+
+
+
+ Asserts that the collection does not contain any null items.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the expected items.
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ A params array with the expected elements.
+
+
+
+ Expects the current collection to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the elements that are not expected.
+
+
+
+ Expects the current collection not to contain all the same elements in the same order as the collection identified by
+ . Elements are compared using their .
+
+ An with the elements that are not expected.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ A params array with the expected elements.
+
+
+
+ Expects the current collection to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the unexpected elements.
+
+
+
+ Expects the current collection not to contain all elements of the collection identified by ,
+ regardless of the order. Elements are compared using their .
+
+ An with the unexpected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection only contains items that are assignable to the type .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain the specified elements in any order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+
+
+ Expects the current collection to contain the specified elements in the exact same order. Elements are compared
+ using their implementation.
+
+ An with the expected elements.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection is a subset of the .
+
+ An with the expected superset.
+
+
+
+ Asserts that the collection is a subset of the .
+
+ An with the expected superset.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the collection is not a subset of the .
+
+ An with the unexpected superset.
+
+
+
+ Asserts that the collection is not a subset of the .
+
+ An with the unexpected superset.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Assert that the current collection has the same number of elements as .
+
+ The other collection with the same expected number of elements
+
+
+
+ Assert that the current collection has the same number of elements as .
+
+ The other collection with the same expected number of elements
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has not been initialized yet with an actual collection.
+
+
+
+
+ Asserts that the current collection has not been initialized yet with an actual collection.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has been initialized with an actual collection.
+
+
+
+
+ Asserts that the current collection has been initialized with an actual collection.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection has the supplied at the
+ supplied .
+
+ The index where the element is expected
+ The expected element
+
+
+
+ Asserts that the current collection has the supplied at the
+ supplied .
+
+ The index where the element is expected
+ The expected element
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current collection only contains items that are assignable to the type .
+
+
+
+
+ Asserts that the current collection does not contain the supplied item.
+
+ The element that is not expected to be in the collection
+
+
+
+ Asserts that the current collection does not contain the supplied item.
+
+ The element that is not expected to be in the collection
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
@@ -98,13 +958,6 @@
The object to pass to the subject's method.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -259,6 +1112,11 @@
Zero or more objects to format using the placeholders in .
+
+
+ Gets the object which value is being asserted.
+
+
Defines the way compares the expected exception
@@ -270,9 +1128,19 @@
The message must match exactly, including the casing of the characters.
+
+
+ The message must match except for the casing of the characters.
+
+
- The message must contain the expected message.
+ The message must contain the exact text.
+
+
+
+
+ The message must contain the text except for the casing of the characters.
@@ -280,6 +1148,677 @@
The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+
+
+
+ Asserts that the current is exactly equal to the value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is before the specified value.
+
+ The that the current value is expected to be before.
+
+
+
+ Asserts that the current is before the specified value.
+
+ The that the current value is expected to be before.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+ The that the current value is expected to be on or before.
+
+
+
+ Asserts that the current is either on, or before the specified value.
+
+ The that the current value is expected to be on or before.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is after the specified value.
+
+ The that the current value is expected to be after.
+
+
+
+ Asserts that the current is after the specified value.
+
+ The that the current value is expected to be after.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+ The that the current value is expected to be on or after.
+
+
+
+ Asserts that the current is either on, or after the specified value.
+
+ The that the current value is expected to be on or after.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the year.
+
+ The expected year of the current value.
+
+
+
+ Asserts that the current has the year.
+
+ The expected year of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the month.
+
+ The expected month of the current value.
+
+
+
+ Asserts that the current has the month.
+
+ The expected month of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the day.
+
+ The expected day of the current value.
+
+
+
+ Asserts that the current has the day.
+
+ The expected day of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the hour.
+
+ The expected hour of the current value.
+
+
+
+ Asserts that the current has the hour.
+
+ The expected hour of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the minute.
+
+ The expected minutes of the current value.
+
+
+
+ Asserts that the current has the minute.
+
+ The expected minutes of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current has the second.
+
+ The expected seconds of the current value.
+
+
+
+ Asserts that the current has the second.
+
+ The expected seconds of the current value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ exceeds the specified compared to another .
+
+
+ The amount of time that the current should exceed compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is equal to or exceeds the specified compared to another .
+
+
+ The amount of time that the current should be equal or exceed compared to
+ another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs exactly the specified compared to another .
+
+
+ The amount of time that the current should differ exactly compared to another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ is within the specified compared to another .
+
+
+ The amount of time that the current should be within another .
+
+
+
+
+ Returns a object that can be used to assert that the current
+ differs at maximum the specified compared to another .
+
+
+ The maximum amount of time that the current should differ compared to another .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that an is in the correct state.
+
+
+
+
+ Asserts that the thrown exception has a message that exactly matches the
+
+
+ The expected message of the exception.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+
+
+ Asserts that the thrown exception has a message that matches
+ depending on the specified matching mode.
+
+
+ The expected message of the exception.
+
+
+ Determines how the expected message is compared with the actual message.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+
+
+
+ Asserts that the thrown exception contains an inner exception of type .
+
+ The expected type of the inner exception.
+ The reason why the inner exception should be of the supplied type.
+ The parameters used when formatting the .
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+
+
+ Asserts that the exception matches a particular condition.
+
+
+ The condition that the exception must match.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Gets the exception object of the exception thrown.
+
+
+
+
+ Provides methods for asserting that the execution time of an satifies certain conditions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The action of which the execution time must be asserted.
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+
+
+ Asserts that the execution time of the operation does not exceed a specified amount of time.
+
+
+ The maximum allowed duration.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Provides methods for asserting that the execution time of an object member satifies certain conditions.
+
+
+
+
+
+ Initializes a new instance of the class.
+
+ The object that exposes the method or property.
+ A reference to the method or property to measure the execution time of.
+
+
+
+ Contains a number of extension methods for floating point .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+
+
+
+ Asserts that the collection contains the specified item.
+
+ The expected item.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection contains some extra items in addition to the original items.
+
+ An of expected items.
+ Additional items that are expected to be contained by the collection.
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection contains at least one item that matches the predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection only contains items that match a predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+ A predicate to match the items in the collection against.
+
+
+
+ Asserts that the collection does not contain any items that match the predicate.
+
+ A predicate to match the items in the collection against.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
Asserts that the current dictionary has not been initialized yet with an actual dictionary.
@@ -318,17 +1857,13 @@
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -341,17 +1876,13 @@
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -400,9 +1931,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
@@ -410,9 +1939,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -427,9 +1954,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
@@ -437,9 +1962,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -453,18 +1976,14 @@
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -478,18 +1997,14 @@
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -503,18 +2018,14 @@
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -528,18 +2039,14 @@
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -553,18 +2060,14 @@
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -578,18 +2081,14 @@
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -600,21 +2099,17 @@
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -627,23 +2122,15 @@
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -657,18 +2144,14 @@
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -682,24 +2165,16 @@
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -713,66 +2188,20 @@
Gets the object which value is being asserted.
-
+
- Is responsible for validating the equality of one or more properties of a subject with another object.
+ Contains a number of methods to assert that a is in the correct state.
-
+
- Provides methods for asserting that the execution time of an satifies certain conditions.
+ Asserts that the is .
-
+
- Asserts that the execution time of the operation does not exceed a specified amount of time.
+ Asserts that the is .
-
- The maximum allowed duration.
-
-
-
-
- Asserts that the execution time of the operation does not exceed a specified amount of time.
-
-
- The maximum allowed duration.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides methods for asserting that the execution time of an object member satifies certain conditions.
-
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
-
-
- Asserts a floating point value approximates another value as close as possible.
-
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -781,27 +2210,15 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is not .
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is not .
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -810,27 +2227,23 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
+ The expected value to compare the actual value with.
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
+ The expected value to compare the actual value with.
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -839,16 +2252,11 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is equal to the GUID.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
+ The expected value to compare the actual value with.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -857,16 +2265,17 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Asserts that the is not equal to the GUID.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
+ The unexpected value to compare the actual value with.
+
+
+
+ Asserts that the is not equal to the GUID.
+
+ The unexpected value to compare the actual value with.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -875,21 +2284,131 @@
Zero or more objects to format using the placeholders in .
-
+
- Dedicated class for comparing two strings and generating consistent error messages.
+ Gets the object which value is being asserted.
-
+
- Gets or sets a value indicating whether the subject should not match the pattern.
+ Contains a number of methods to assert that an integral number is in the correct state.
-
+
- Gets or sets a value indicating whether the matching process should ignore any casing difference.
+ Contains a number of methods to assert that an is in the expected state.
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Asserts that a value is within a range.
@@ -925,97 +2444,862 @@
Zero or more objects to format using the placeholders in .
+
+
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+
+
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified methods
+ The methods.
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the that contains the specified methods.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Allows for fluent selection of methods of a type through reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the methods that return the specified type
+
+
+
+
+ Only select the methods that are decorated with an attribute of the specified type.
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Determines whether the specified method has a special name (like properties and events).
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the methods that are public or internal.
+
+
+
+
+ Only select the methods without a return value
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable numeric value has the expected value.
+
+
+
+
+ Asserts that a nullable numeric value is not null.
+
+
+
+
+ Asserts that a nullable numeric value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+
+
+ Asserts that a nullable numeric value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that the time difference of the current is greater than zero.
+
+
+
+
+ Asserts that the time difference of the current is greater than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Gets the object which value is being asserted.
-
+
- Returns a based on a number of milliseconds.
+ Asserts that a nullable value is not null.
-
+
- Returns a based on a number of seconds.
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
-
+
- Returns a based on a number of minutes.
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
-
+
- Returns a based on a number of hours.
+ Asserts that the value of an object equals another object when using it's method.
+
+ The expected value
+
+
+
+ Asserts that an object equals another object using its implementation.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that an object does not equal another object using it's method.
+
+ The unexpected value
+
+
+
+ Asserts that an object does not equal another object using it's method.
+
+ The unexpected value
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that an object reference refers to the exact same object as another object reference.
+
+ The expected object
+
+
+
+ Asserts that an object reference refers to the exact same object as another object reference.
+
+ The expected object
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that an object reference refers to a different object than another object reference refers to.
+
+ The unexpected object
+
+
+
+ Asserts that an object reference refers to a different object than another object reference refers to.
+
+ The unexpected object
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is null.
-
+
- Returns a based on a number of days.
+ Asserts that the object is null.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is not null.
-
+
- Asserts that the object is assignable to a variable of type .
+ Asserts that the object is not null.
- The type to which the object should be assignable.
- An which can be used to chain assertions.
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
-
+
- Asserts that the object is assignable to a variable of type .
+ Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
+ the values of all properties.
- The type to which the object should be assignable.
- The reason why the object should be assignable to the type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
+
- Asserts that the is statisfied.
+ Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
+ the values of all properties.
- The predicate which must be satisfied by the .
- An which can be used to chain assertions.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Asserts that the is satisfied.
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
+
- Asserts that the is satisfied.
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
- The predicate which must be statisfied by the .
- An which can be used to chain assertions.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
-
+
- Asserts that the is satisfied.
+ Provides methods for selecting one or more properties of an object and comparing them with another object.
- The predicate which must be statisfied by the .
- The reason why the predicate should be satisfied.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
+
+
+ Includes all properties of when comparing the subject with another object using .
+
+
+
+
+ Includes all properties of including those of the run-time type when comparing the subject
+ with another object using .
+
+
+
+
+ Includes all properties of when comparing the subject with another object using ,
+ except those that the other object does not have.
+
+
+
+
+ Perform recursive property comparison of the child properties for objects that are of incompatible type.
+
+
+
+
+ Includes all properties of when comparing the subject with another object using ,
+ except those specified using a property expression.
+
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
+
+
+
+ Excludes the properties specified by the from the comparison.
+
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
+
+
+
+ Includes only those properties of when comparing the subject with another object using
+ that were specified using a property expression.
+
+ A single property expression to include.
+ Optional list of additional property expressions to include.
+
+
+
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
+
+ The object to compare the current object with
+
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
+
+
+
+
+ Asserts that the previously selected properties of have the same value as the equally named
+ properties of .
+
+ The object to compare the current object with
+
+ Property values are considered equal if, after converting them to the requested type, calling
+ returns true.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
Gets the object which value is being asserted.
-
+
- Asserts that the value is false.
+ Is responsible for validating the equality of one or more properties of a subject with another object.
-
+
- Asserts that the value is false.
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified properties
+ The properties.
+
+
+
+ Asserts that the selected properties are virtual.
+
+
+
+
+ Asserts that the selected properties are virtual.
A formatted phrase as is supported by explaining why the assertion
@@ -1025,14 +3309,14 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the value is true.
+ Asserts that the selected methods are decorated with the specified .
-
+
- Asserts that the value is true.
+ Asserts that the selected methods are decorated with the specified .
A formatted phrase as is supported by explaining why the assertion
@@ -1042,36 +3326,399 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the value is equal to the specified value.
+ Gets the that contains the specified properties.
-
-
- Asserts that the value is equal to the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
+
Gets the object which value is being asserted.
-
+
- Asserts that the number of items in the collection matches the supplied amount.
+ Allows for fluent selection of properties of a type through reflection.
-
+
- Asserts that the number of items in the collection matches the supplied amount.
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the properties that are decorated with an attribute of the specified type.
+
+
+
+
+ Only select the properties that return the specified type
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the properties that have a public or internal getter.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Asserts that a string is equal to another string.
+
+ The expected string.
+
+
+
+ Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
+
+ The expected string.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
+
+
+ The string that the subject is expected to be equivalent to.
+
+
+
+
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
+
+
+ The string that the subject is expected to be equivalent to.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string matches a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+
+
+ Asserts that a string does not match a wildcard pattern.
+
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string contains another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should contain.
+
+
+
+
+ Asserts that a string contains another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should contain.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not contain another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should not contain.
+
+
+
+
+ Asserts that a string does not contain another (fragment of a) string.
+
+
+ The (fragement of a) string that the current string should not contain.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is .
+
+
+
+
+ Asserts that a string is .
A formatted phrase as is supported by explaining why the assertion
@@ -1081,14 +3728,14 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the number of items in the collection matches a condition stated by the .
+ Asserts that a string is not .
-
+
- Asserts that the number of items in the collection matches a condition stated by the .
+ Asserts that a string is not .
A formatted phrase as is supported by explaining why the assertion
@@ -1098,14 +3745,33 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the collection does not contain any items.
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+
+
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is null.
-
+
- Asserts that the collection does not contain any items.
+ Asserts that a string is null.
A formatted phrase as is supported by explaining why the assertion
@@ -1115,14 +3781,14 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the collection contains at least 1 item.
+ Asserts that a string is not null.
-
+
- Asserts that the collection contains at least 1 item.
+ Asserts that a string is not null.
A formatted phrase as is supported by explaining why the assertion
@@ -1132,14 +3798,172 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the collection does not contain any duplicate items.
+ Asserts that a string is neither null nor .
-
+
- Asserts that the collection does not contain any duplicate items.
+ Asserts that a string is neither null nor .
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is either null or .
+
+
+
+
+ Asserts that a string is either null or .
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is neither null nor nor white space
+
+
+
+
+ Asserts that a string is neither null nor nor white space
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a string is either null or or white space
+
+
+
+
+ Asserts that a string is either null or or white space
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Dedicated class for comparing two strings and generating consistent error messages.
+
+
+
+
+ Gets or sets a value indicating whether the subject should not match the pattern.
+
+
+
+
+ Gets or sets a value indicating whether the matching process should ignore any casing difference.
+
+
+
+
+ Contains a number of methods to assert that two objects differ in the expected way.
+
+
+ You can use the and for a more fluent
+ way of specifying a or a .
+
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
+
+
+
+
+ Asserts that a occurs a specified amount of time before another .
+
+
+ The to compare the subject with.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that a occurs a specified amount of time after another .
+
+
+ The to compare the subject with.
+
+
+
+
+ Asserts that a occurs a specified amount of time after another .
+
+
+ The to compare the subject with.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Provides the logic and the display text for a .
+
+
+
+
+ Contains a number of methods to assert that a meets certain expectations.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+
+
+
+ Asserts that the current type is equal to the specified type.
A formatted phrase as is supported by explaining why the assertion
@@ -1149,14 +3973,33 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts that the collection does not contain any null items.
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
-
+
- Asserts that the collection does not contain any null items.
+ Asserts that the current type is not equal to the specified type.
A formatted phrase as is supported by explaining why the assertion
@@ -1166,16 +4009,33 @@
Zero or more objects to format using the placeholders in .
-
+
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is decorated with the specified .
-
+
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Asserts that the is decorated with the specified .
A formatted phrase as is supported by explaining why the assertion
@@ -1185,264 +4045,25 @@
Zero or more objects to format using the placeholders in .
-
+
- Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ Gets the object which value is being asserted.
-
+
- Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Extension methods for getting method and property selectors for a type.
-
+
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Returns a method selector for the current .
-
+
- Expects the current collection to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
+ Returns a property selector for the current .
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
-
-
- Expects the current collection not to contain all elements of the collection identified by ,
- regardless of the order. Elements are compared using their .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
-
-
-
- Expects the current collection to contain the specified elements in any order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
-
-
-
- Expects the current collection to contain the specified elements in the exact same order. Elements are compared
- using their implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is a subset of the .
-
-
-
-
- Asserts that the collection is a subset of the .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
-
-
-
- Asserts that the collection is not a subset of the .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
-
-
-
- Assert that the current collection has the same number of elements as .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
-
-
- Asserts that the current collection has not been initialized yet with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has been initialized with an actual collection.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
-
-
-
- Asserts that the current collection has the supplied at the
- supplied .
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current collection only contains items that are assignable to the type .
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
-
-
-
- Asserts that the current collection does not contain the supplied item.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -1466,6 +4087,240 @@
Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
+
+
+ Extension methods on to allow for a more fluent way of specifying a .
+
+
+ Instead of
+
+ new DateTime(2011, 3, 10)
+
+ you can write 3.March(2011)
+
+ Or even
+
+ 3.March(2011).At(09, 30)
+
+
+
+
+
+ Returns a new value for the specified and
+ in the month January.
+
+
+
+
+ Returns a new value for the specified and
+ in the month February.
+
+
+
+
+ Returns a new value for the specified and
+ in the month March.
+
+
+
+
+ Returns a new value for the specified and
+ in the month April.
+
+
+
+
+ Returns a new value for the specified and
+ in the month May.
+
+
+
+
+ Returns a new value for the specified and
+ in the month June.
+
+
+
+
+ Returns a new value for the specified and
+ in the month July.
+
+
+
+
+ Returns a new value for the specified and
+ in the month August.
+
+
+
+
+ Returns a new value for the specified and
+ in the month September.
+
+
+
+
+ Returns a new value for the specified and
+ in the month October.
+
+
+
+
+ Returns a new value for the specified and
+ in the month November.
+
+
+
+
+ Returns a new value for the specified and
+ in the month December.
+
+
+
+
+ Returns a new value for the specified and .
+
+
+
+
+ Returns a new value for the specified and time with the specified
+ , and optionally .
+
+
+
+
+ Returns a new value that is the current before the
+ specified .
+
+
+
+
+ Returns a new value that is the current after the
+ specified .
+
+
+
+
+ Is thrown when the detects an object that was already processed.
+
+
+
+
+ Simple class for detecting an attempt to process an object that were already processed.
+
+
+
+
+ Extension methods on to allow for a more fluent way of specifying a .
+
+
+ Instead of
+
+ TimeSpan.FromHours(12)
+
+ you can write
+
+ 12.Hours()
+
+ Or even
+
+ 12.Hours().And(30.Minutes()).
+
+
+
+
+
+ Returns a based on a number of milliseconds.
+
+
+
+
+ Returns a based on a number of seconds.
+
+
+
+
+ Returns a based on a number of seconds, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of minutes.
+
+
+
+
+ Returns a based on a number of minutes, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of hours.
+
+
+
+
+ Returns a based on a number of hours, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of days.
+
+
+
+
+ Returns a based on a number of days, and add the specified
+ .
+
+
+
+
+ Convenience method for chaining multiple calls to the methods provided by this class.
+
+
+ 23.Hours().And(59.Minutes())
+
+
+
+
+ Static methods that aid in generic event subscription
+
+
+
+
+ Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
+ when invoked.
+
+
+
+
+ Finds the Return Type of a Delegate.
+
+
+
+
+ Returns an Array of Types that make up a delegate's parameter signature.
+
+
+
+
+ Returns an array of types appended with an EventRecorder reference at the beginning.
+
+
+
+
+ Returns T/F Dependent on a Type Being a Delegate.
+
+
+
+
+ Returns the MethodInfo for the Delegate's "Invoke" Method.
+
+
Provides extension methods for monitoring and querying events.
@@ -1481,9 +4336,9 @@
Asserts that an object has raised a particular event at least once.
-
- The name of the event that should have been raised.
-
+ The object exposing the event.
+ The name of the event that should have been raised.
+
You must call on the same object prior to this call so that Fluent Assertions can
subscribe for the events of the object.
@@ -1493,6 +4348,7 @@
Asserts that an object has raised a particular event at least once.
+ The object exposing the event.
The name of the event that should have been raised.
@@ -1512,6 +4368,7 @@
Asserts that an object has not raised a particular event.
+ The object exposing the event.
The name of the event that should not be raised.
@@ -1524,6 +4381,7 @@
Asserts that an object has not raised a particular event.
+ The object exposing the event.
The name of the event that should not be raised.
@@ -1552,6 +4410,10 @@
Asserts that an object has raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1577,6 +4439,10 @@
Asserts that an object has not raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1657,1178 +4523,25 @@
The name of the event that's recorded
-
-
- Static methods that aid in generic event subscription
-
-
-
-
- Generates an eventhandler for an event of type eventSignature that calls RegisterEvent on recorder
- when invoked.
-
-
-
-
- Finds the Return Type of a Delegate.
-
-
-
-
- Returns an Array of Types that make up a delegate's parameter signature.
-
-
-
-
- Returns an array of types appended with an EventRecorder reference at the beginning.
-
-
-
-
- Returns T/F Dependent on a Type Being a Delegate.
-
-
-
-
- Returns the MethodInfo for the Delegate's "Invoke" Method.
-
-
-
-
- This class is used to store data about an intercepted event
-
-
-
-
- Default constructor stores the parameters the event was raised with
-
-
-
-
- Parameters for the event
-
-
Simple dictionary that uses a to the event source as the key.
This should ensure the Garbage Collector can still clean-up the event source object.
-
+
- Determines whether this instance can handle the specified value.
+ This class is used to store data about an intercepted event
- The value.
-
- true if this instance can handle the specified value; otherwise, false.
-
-
+
- Returns a that represents this instance.
+ Default constructor stores the parameters the event was raised with
- The value.
-
- A that represents this instance.
-
-
+
- Provides services for formatting an object being used in an assertion in a human readable format.
-
-
-
-
- A list of objects responsible for formatting the objects represented by placeholders.
-
-
-
-
- Returns a human-readable representation of a particular object.
-
-
-
-
- Returns a human-readable representation of a particular object that starts on a new line.
-
-
-
-
- Asserts that the collection contains the specified item.
-
-
-
-
- Asserts that the collection contains the specified item.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection contains some extra items in addition to the original items.
-
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
-
-
-
- Asserts that the collection contains at least one item that matches the predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
-
-
-
- Asserts that the collection only contains items that match a predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
-
-
-
- Asserts that the collection does not contain any items that match the predicate.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Contains extension methods for custom assertions in unit tests.
-
-
-
-
- Invokes the specified action on an subject so that you can chain it with any of the ShouldThrow or ShouldNotThrow
- overloads.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Provides methods for asserting the execution time of a method or property.
-
- The object that exposes the method or property.
- A reference to the method or property to measure the execution time of.
-
- Returns an object for asserting that the execution time matches certain conditions.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the throws an exception.
-
-
- The type of the exception it should throw.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
- Returns an object that allows asserting additional members of the thrown exception.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
-
-
- Asserts that the does not throw a particular exception.
-
-
- The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
-
-
- Asserts that the does not throw any exception at all.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Forces enumerating a collection. Should be used to assert that a method that uses the
- yield keyword throws a particular exception.
-
-
-
-
- Asserts that the properties of an object matches those of another object.
-
-
-
-
- Safely casts the specified object to the type specified through .
-
-
- Has been introduced to allow casting objects without breaking the fluent API.
-
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
-
-
-
- Asserts that the current is exactly equal to the value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is before the specified value.
-
-
-
-
- Asserts that the current is before the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
-
-
-
- Asserts that the current is either on, or before the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is after the specified value.
-
-
-
-
- Asserts that the current is after the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
-
-
-
- Asserts that the current is either on, or after the specified value.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the year.
-
-
-
-
- Asserts that the current has the year.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the month.
-
-
-
-
- Asserts that the current has the month.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the day.
-
-
-
-
- Asserts that the current has the day.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the hour.
-
-
-
-
- Asserts that the current has the hour.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the minute.
-
-
-
-
- Asserts that the current has the minute.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the current has the second.
-
-
-
-
- Asserts that the current has the second.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Returns a object that can be used to assert that the current
- exceeds the specified compared to another .
-
-
- The amount of time that the current should exceed compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is equal to or exceeds the specified compared to another .
-
-
- The amount of time that the current should be equal or exceed compared to
- another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs exactly the specified compared to another .
-
-
- The amount of time that the current should differ exactly compared to another .
-
-
-
-
- Returns a object that can be used to assert that the current
- is within the specified compared to another .
-
-
- The amount of time that the current should be within another .
-
-
-
-
- Returns a object that can be used to assert that the current
- differs at maximum the specified compared to another .
-
-
- The maximum amount of time that the current should differ compared to another .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Asserts that the thrown exception has a message that exactly matches the
-
-
- The expected message of the exception.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
-
-
- Asserts that the thrown exception has a message that matches
- depending on the specified matching mode.
-
-
- The expected message of the exception.
-
-
- Determines how the expected message is compared with the actual message.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception of type .
-
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
- An which can be used to chain assertions.
-
-
-
- Asserts that the thrown exception contains an inner exception with the .
-
- The expected message of the inner exception.
-
- The reason why the message of the inner exception should match .
-
- The parameters used when formatting the .
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
-
-
- Asserts that the exception matches a particular condition.
-
-
- The condition that the exception must match.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the exception object of the exception thrown.
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
-
-
- Asserts that a nullable numeric value is not null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
-
-
- Asserts that a nullable numeric value is null.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that the value of an object equals another object when using it's method.
-
-
-
-
- Asserts that an object equals another object using its implementation.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
-
-
-
- Asserts that an object does not equal another object using it's method.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
-
-
-
- Asserts that an object reference refers to the exact same object as another object reference.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
-
-
-
- Asserts that an object reference refers to a different object than another object reference refers to.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the binary serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
-
-
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Provides methods for selecting one or properties of an object and comparing them with another object.
-
-
-
-
- Includes all properties of when comparing the subject with another object using .
-
-
-
-
- Includes all properties of including those of the run-time type when comparing the subject
- with another object using .
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those that the other object does not have.
-
-
-
-
- Includes all properties of when comparing the subject with another object using ,
- except those specified using a property expression.
-
-
-
-
- Includes only those properties of when comparing the subject with another object using
- that were specified using a property expression.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
-
-
- Asserts that the previously selected properties of have the same value as the equally named
- properties of .
-
-
- Property values are considered equal if, after converting them to the requested type, calling
- returns true.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Asserts that a string is equal to another string.
-
-
- The expected string.
-
-
-
-
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
-
- The expected string.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
-
-
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
-
-
- The string that the subject is expected to be equivalent to.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string matches a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
-
-
- Asserts that a string does not match a wildcard pattern.
-
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
-
-
- Asserts that a string contains another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
-
-
- Asserts that a string does not contain another (fragment of a) string.
-
-
- The (fragement of a) string that the current string should not contain.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is neither null or empty.
-
-
-
-
- Ensures that a string is either null or empty.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is neither null nor empty nor white space
-
-
-
-
- Ensures that a string is neither null nor empty nor white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Ensures that a string is either null or empty or white space
-
-
-
-
- Ensures that a string is either null or empty or white space
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Gets the object which value is being asserted.
-
-
-
-
- Provides methods for asserting that two objects differ in certain ways.
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
-
-
- Asserts that a occurs a specified amount of time before another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
-
-
- Asserts that a occurs a specified amount of time after another .
-
-
- The to compare the subject with.
-
-
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
-
-
- Zero or more values to use for filling in any compatible placeholders.
-
-
-
-
- Provides the logic and the display text for a .
+ Parameters for the event
@@ -2907,11 +4620,96 @@
Gets an object that wraps and executes a conditional or unconditional verification.
+
+
+ Indicates whether the current can handle the specified .
+
+ The value for which to create a .
+
+ true if the current can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Determines whether this instance can handle the specified value.
+
+ The value.
+
+ true if this instance can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Provides services for formatting an object being used in an assertion in a human readable format.
+
+
+
+
+ A list of objects responsible for formatting the objects represented by placeholders.
+
+
+
+
+ Returns a human-readable representation of a particular object.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
+
+
+ Returns a human-readable representation of a particular object that starts on a new line.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
Provides a fluent API for verifying an arbitrary condition.
+
+
+ Represents the phrase that can be used in as a placeholder for the reason of an assertion.
+
+
Initializes a new instance of the class.
@@ -2922,6 +4720,29 @@
Gets the name or identifier of the current subject, or a default value if the subject is not known.
+
+
+ Specify the condition that must be satisfied.
+
+ If true the verification will be succesful.
+
+
+
+ Specify a predicate that with the condition that must be satisfied.
+
+
+
+
+ Specify the reason why you expect the condition to be true.
+
+
+ A formatted phrase explaining why the condition should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
Define the failure message for the verification.
diff --git a/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.dll
new file mode 100644
index 000000000..b182e145d
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.dll differ
diff --git a/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.pdb b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.pdb
new file mode 100644
index 000000000..5ad6d81b6
Binary files /dev/null and b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.pdb differ
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.xml b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.xml
similarity index 52%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.xml
rename to packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.xml
index ad4a6a2db..5c71fccab 100644
--- a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/FluentAssertions.Silverlight.xml
+++ b/packages/FluentAssertions.1.6.0/Lib/sl40/FluentAssertions.Silverlight.xml
@@ -35,6 +35,7 @@
Asserts that the throws an exception.
+ A reference to the method or property.
The type of the exception it should throw.
@@ -61,6 +62,7 @@
Asserts that the does not throw a particular exception.
+ The current method or property.
The type of the exception it should not throw. Any other exceptions are ignored and will satisfy the assertion.
@@ -81,6 +83,7 @@
Asserts that the does not throw any exception at all.
+ The current method or property.
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -101,11 +104,187 @@
yield keyword throws a particular exception.
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current .
+
+
+
+
+ Returns an object that can be used to assert the
+ current nullable .
+
+
Asserts that the properties of an object matches those of another object.
+
+
+ Returns a object that can be used to assert the
+ current .
+
+
+
+
+ Returns a object that can be used to assert the methods returned by the
+ current .
+
+
+
+
+
+ Returns a object that can be used to assert the properties returned by the
+ current .
+
+
+
Safely casts the specified object to the type specified through .
@@ -115,6 +294,11 @@
+
+
+ Contains a number of methods to assert that an yields the expected result.
+
+
Asserts that the current throws an exception of type .
@@ -151,6 +335,16 @@
Zero or more objects to format using the placeholders in .
+
+
+ Gets the that is being asserted.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
Asserts that the value is false.
@@ -189,11 +383,13 @@
Asserts that the value is equal to the specified value.
+ The expected value
Asserts that the value is equal to the specified value.
+ The expected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -207,6 +403,35 @@
Gets the object which value is being asserted.
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Contains a number of methods to assert that a reference type object is in the expected state.
+
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+
+
+ Asserts that the object is of the specified type .
+
+ The expected type of the object.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Asserts that the object is assignable to a variable of type .
@@ -225,35 +450,35 @@
- Asserts that the is statisfied.
+ Asserts that the is statisfied.
The predicate which must be satisfied by the .
- An which can be used to chain assertions.
+ An which can be used to chain assertions.
- Asserts that the is satisfied.
+ Asserts that the is satisfied.
The predicate which must be statisfied by the .
The reason why the predicate should be satisfied.
The parameters used when formatting the .
- An which can be used to chain assertions.
+ An which can be used to chain assertions.
- Asserts that the is satisfied.
+ Asserts that the is satisfied.
The predicate which must be statisfied by the .
- An which can be used to chain assertions.
+ An which can be used to chain assertions.
- Asserts that the is satisfied.
+ Asserts that the is satisfied.
The predicate which must be statisfied by the .
The reason why the predicate should be satisfied.
The parameters used when formatting the .
- An which can be used to chain assertions.
+ An which can be used to chain assertions.
@@ -264,11 +489,13 @@
Asserts that the number of items in the collection matches the supplied amount.
+ The expected number of items in the collection.
Asserts that the number of items in the collection matches the supplied amount.
+ The expected number of items in the collection.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -281,11 +508,13 @@
Asserts that the number of items in the collection matches a condition stated by the .
+ A predicate that yields the number of items that is expected to be in the collection.
Asserts that the number of items in the collection matches a condition stated by the .
+ A predicate that yields the number of items that is expected to be in the collection.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -365,27 +594,23 @@
Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ . Elements are compared using their .
+ An with the expected items.
Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ . Elements are compared using their .
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
+ A params array with the expected elements.
Expects the current collection to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ . Elements are compared using their .
+ An with the expected elements.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -397,14 +622,16 @@
Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ . Elements are compared using their .
+ An with the elements that are not expected.
Expects the current collection not to contain all the same elements in the same order as the collection identified by
- . Elements are compared using their .
+ . Elements are compared using their .
+ An with the elements that are not expected.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -415,21 +642,24 @@
- Expects the current collection to contain all elements of the collection identified by ,
+ Expects the current collection to contain all elements of the collection identified by ,
regardless of the order. Elements are compared using their .
+ An with the expected elements.
- Expects the current collection to contain all elements of the collection identified by ,
+ Expects the current collection to contain all elements of the collection identified by ,
regardless of the order. Elements are compared using their .
+ A params array with the expected elements.
- Expects the current collection to contain all elements of the collection identified by ,
+ Expects the current collection to contain all elements of the collection identified by ,
regardless of the order. Elements are compared using their .
+ An with the expected elements.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -440,15 +670,17 @@
- Expects the current collection not to contain all elements of the collection identified by ,
+ Expects the current collection not to contain all elements of the collection identified by ,
regardless of the order. Elements are compared using their .
+ An with the unexpected elements.
- Expects the current collection not to contain all elements of the collection identified by ,
+ Expects the current collection not to contain all elements of the collection identified by ,
regardless of the order. Elements are compared using their .
+ An with the unexpected elements.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -474,12 +706,14 @@
Expects the current collection to contain the specified elements in any order. Elements are compared
using their implementation.
+ An with the expected elements.
Expects the current collection to contain the specified elements in any order. Elements are compared
using their implementation.
+ An with the expected elements.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -493,12 +727,14 @@
Expects the current collection to contain the specified elements in the exact same order. Elements are compared
using their implementation.
+ An with the expected elements.
Expects the current collection to contain the specified elements in the exact same order. Elements are compared
using their implementation.
+ An with the expected elements.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -509,13 +745,15 @@
- Asserts that the collection is a subset of the .
+ Asserts that the collection is a subset of the .
+ An with the expected superset.
- Asserts that the collection is a subset of the .
+ Asserts that the collection is a subset of the .
+ An with the expected superset.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -526,13 +764,15 @@
- Asserts that the collection is not a subset of the .
+ Asserts that the collection is not a subset of the .
+ An with the unexpected superset.
- Asserts that the collection is not a subset of the .
+ Asserts that the collection is not a subset of the .
+ An with the unexpected superset.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -545,11 +785,13 @@
Assert that the current collection has the same number of elements as .
+ The other collection with the same expected number of elements
Assert that the current collection has the same number of elements as .
+ The other collection with the same expected number of elements
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -579,13 +821,6 @@
Asserts that the current collection has been initialized with an actual collection.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -604,12 +839,16 @@
Asserts that the current collection has the supplied at the
supplied .
+ The index where the element is expected
+ The expected element
Asserts that the current collection has the supplied at the
supplied .
+ The index where the element is expected
+ The expected element
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -627,11 +866,13 @@
Asserts that the current collection does not contain the supplied item.
+ The element that is not expected to be in the collection
Asserts that the current collection does not contain the supplied item.
+ The element that is not expected to be in the collection
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -640,6 +881,11 @@
Zero or more objects to format using the placeholders in .
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
Asserts that the subject is considered equal to another object according to the implementation of .
@@ -693,13 +939,6 @@
The object to pass to the subject's method.
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -854,6 +1093,11 @@
Zero or more objects to format using the placeholders in .
+
+
+ Gets the object which value is being asserted.
+
+
Defines the way compares the expected exception
@@ -865,9 +1109,19 @@
The message must match exactly, including the casing of the characters.
+
+
+ The message must match except for the casing of the characters.
+
+
- The message must contain the expected message.
+ The message must contain the exact text.
+
+
+
+
+ The message must contain the text except for the casing of the characters.
@@ -875,6 +1129,14 @@
The message must match a wildcard pattern consisting of ordinary characters as well as * and ?.
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
Asserts that the current is exactly equal to the value.
@@ -884,6 +1146,7 @@
Asserts that the current is exactly equal to the value.
+ The expected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -896,11 +1159,13 @@
Asserts that the current is before the specified value.
+ The that the current value is expected to be before.
Asserts that the current is before the specified value.
+ The that the current value is expected to be before.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -913,11 +1178,13 @@
Asserts that the current is either on, or before the specified value.
+ The that the current value is expected to be on or before.
Asserts that the current is either on, or before the specified value.
+ The that the current value is expected to be on or before.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -930,11 +1197,13 @@
Asserts that the current is after the specified value.
+ The that the current value is expected to be after.
Asserts that the current is after the specified value.
+ The that the current value is expected to be after.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -947,11 +1216,13 @@
Asserts that the current is either on, or after the specified value.
+ The that the current value is expected to be on or after.
Asserts that the current is either on, or after the specified value.
+ The that the current value is expected to be on or after.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -964,11 +1235,13 @@
Asserts that the current has the year.
+ The expected year of the current value.
Asserts that the current has the year.
+ The expected year of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -981,11 +1254,13 @@
Asserts that the current has the month.
+ The expected month of the current value.
Asserts that the current has the month.
+ The expected month of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -998,11 +1273,13 @@
Asserts that the current has the day.
+ The expected day of the current value.
Asserts that the current has the day.
+ The expected day of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1015,11 +1292,13 @@
Asserts that the current has the hour.
+ The expected hour of the current value.
Asserts that the current has the hour.
+ The expected hour of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1032,11 +1311,13 @@
Asserts that the current has the minute.
+ The expected minutes of the current value.
Asserts that the current has the minute.
+ The expected minutes of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1049,11 +1330,13 @@
Asserts that the current has the second.
+ The expected seconds of the current value.
Asserts that the current has the second.
+ The expected seconds of the current value.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1113,12 +1396,17 @@
Gets the object which value is being asserted.
+
+
+ Contains a number of methods to assert that an is in the correct state.
+
+
- Asserts that the thrown exception has a message that exactly matches the
+ Asserts that the thrown exception has a message that exactly matches the
- The expected message of the exception.
+ The expected message of the exception.
@@ -1127,14 +1415,14 @@
depending on the specified matching mode.
- The expected message of the exception.
+ The expected message of the exception.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
@@ -1155,41 +1443,45 @@
depending on the specified matching mode.
- The expected message of the exception.
+ The expected message of the exception.
Determines how the expected message is compared with the actual message.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that the thrown exception contains an inner exception of type .
+ Asserts that the thrown exception contains an inner exception of type .
- The expected type of the inner exception.
- An which can be used to chain assertions.
+ The expected type of the inner exception.
- Asserts that the thrown exception contains an inner exception of type .
+ Asserts that the thrown exception contains an inner exception of type .
- The expected type of the inner exception.
- The reason why the inner exception should be of the supplied type.
- The parameters used when formatting the .
- An which can be used to chain assertions.
+ The expected type of the inner exception.
+ The reason why the inner exception should be of the supplied type.
+ The parameters used when formatting the .
- Asserts that the thrown exception contains an inner exception with the .
+ Asserts that the thrown exception contains an inner exception with the .
- The expected message of the inner exception.
- An which can be used to chain assertions.
+ The expected message of the inner exception.
+
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
@@ -1201,6 +1493,17 @@
The parameters used when formatting the .
+
+
+ Asserts that the thrown exception contains an inner exception with the .
+
+ The expected message of the inner exception.
+ Determines how the expected message is compared with the actual message.
+
+ The reason why the message of the inner exception should match .
+
+ The parameters used when formatting the .
+
Asserts that the exception matches a particular condition.
@@ -1229,10 +1532,16 @@
Gets the exception object of the exception thrown.
+
+
+ Contains a number of extension methods for floating point .
+
+
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1244,6 +1553,7 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1262,6 +1572,7 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1273,6 +1584,7 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1291,6 +1603,7 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1302,6 +1615,7 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1320,6 +1634,19 @@
Asserts a floating point value approximates another value as close as possible.
+ The object that is being extended.
+
+ The expected value to compare the actual value with.
+
+
+ The maximum amount of which the two values may differ.
+
+
+
+
+ Asserts a floating point value approximates another value as close as possible.
+
+ The object that is being extended.
The expected value to compare the actual value with.
@@ -1334,23 +1661,10 @@
Zero or more objects to format using the placeholders in .
-
+
- Asserts a floating point value approximates another value as close as possible.
+ Contains a number of methods to assert that an is in the expected state.
-
- The expected value to compare the actual value with.
-
-
- The maximum amount of which the two values may differ.
-
-
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
-
-
- Zero or more objects to format using the placeholders in .
-
@@ -1361,6 +1675,7 @@
Asserts that the collection contains the specified item.
+ The expected item.
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1373,16 +1688,20 @@
Asserts that the collection contains some extra items in addition to the original items.
+ An of expected items.
+ Additional items that are expected to be contained by the collection.
Asserts that the collection contains at least one item that matches the predicate.
+ A predicate to match the items in the collection against.
Asserts that the collection contains at least one item that matches the predicate.
+ A predicate to match the items in the collection against.
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1395,11 +1714,13 @@
Asserts that the collection only contains items that match a predicate.
+ A predicate to match the items in the collection against.
Asserts that the collection only contains items that match a predicate.
+ A predicate to match the items in the collection against.
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1412,11 +1733,13 @@
Asserts that the collection does not contain any items that match the predicate.
+ A predicate to match the items in the collection against.
Asserts that the collection does not contain any items that match the predicate.
+ A predicate to match the items in the collection against.
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -1425,6 +1748,11 @@
Zero or more values to use for filling in any compatible placeholders.
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
Asserts that the current dictionary has not been initialized yet with an actual dictionary.
@@ -1463,17 +1791,13 @@
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
Asserts that the number of items in the dictionary matches the supplied amount.
-
- The expected amount.
-
+ The expected number of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1486,17 +1810,13 @@
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
Asserts that the number of items in the dictionary matches a condition stated by a predicate.
-
- The predicate which must be statisfied by the amount of items
-
+ The predicate which must be statisfied by the amount of items.
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1545,9 +1865,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
@@ -1555,9 +1873,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The expected dictionary
-
+ The expected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1572,9 +1888,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
@@ -1582,9 +1896,7 @@
specified dictionary. Keys and values are compared using
their implementation.
-
- The unexpected dictionary
-
+ The unexpected dictionary
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1598,18 +1910,14 @@
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
Asserts that the dictionary contains the specified key. Keys are compared using
their implementation.
-
- The expected key
-
+ The expected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1623,18 +1931,14 @@
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
Asserts that the dictionary contains all of the specified keys. Keys are compared using
their implementation.
-
- The expected keys
-
+ The expected keys
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1648,18 +1952,14 @@
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
Asserts that the current dictionary does not contain the specified key.
Keys are compared using their implementation.
-
- The unexpected key
-
+ The unexpected key
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1673,18 +1973,14 @@
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
Asserts that the dictionary contains the specified value. Values are compared using
their implementation.
-
- The expected value
-
+ The expected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1698,18 +1994,14 @@
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
Asserts that the dictionary contains all of the specified values. Values are compared using
their implementation.
-
- The expected values
-
+ The expected values
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1723,18 +2015,14 @@
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
Asserts that the current dictionary does not contain the specified value.
Values are compared using their implementation.
-
- The unexpected value
-
+ The unexpected value
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1745,21 +2033,17 @@
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
- Asserts that the current dictionary contains the specified .
+ Asserts that the current dictionary contains the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The expected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1772,23 +2056,15 @@
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary contains the specified for the supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1802,18 +2078,14 @@
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
Asserts that the current dictionary does not contain the specified .
Keys and values are compared using their implementation.
-
- The to look for
-
+ The unexpected
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1827,24 +2099,16 @@
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
Asserts that the current dictionary does not contain the specified for the
supplied . Values are compared using their implementation.
-
- The key for which to validate the value
-
-
- The value to validate
-
+ The key for which to validate the value
+ The value to validate
A formatted phrase as is supported by explaining why the assertion
is needed. If the phrase does not start with the word because, it is prepended automatically.
@@ -1858,6 +2122,227 @@
Gets the object which value is being asserted.
+
+
+ Contains a number of methods to assert that a is in the correct state.
+
+
+
+
+ Asserts that the is .
+
+
+
+
+ Asserts that the is .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is not .
+
+
+
+
+ Asserts that the is not .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is equal to the GUID.
+
+ The expected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is not equal to the GUID.
+
+ The unexpected value to compare the actual value with.
+
+
+
+ Asserts that the is not equal to the GUID.
+
+ The unexpected value to compare the actual value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Contains a number of methods to assert that an integral number is in the correct state.
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+
+
+ Asserts that the numeric value is greater than or equal to zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+
+
+ Asserts that the numeric value is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is less than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+
+
+ Asserts that the numeric value is greater than or equal to the specified value.
+
+ The value to compare the current numeric value with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Asserts that a value is within a range.
@@ -1893,6 +2378,354 @@
Zero or more objects to format using the placeholders in .
+
+
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+
+
+ Asserts that the integral number value is exactly the same as the value.
+
+ The expected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+
+
+ Asserts that the integral number value is not the same as the value.
+
+ The unexpected value.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified methods
+ The methods.
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+
+
+ Asserts that the selected methods are virtual.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the that contains the specified methods.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Allows for fluent selection of methods of a type through reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the methods that return the specified type
+
+
+
+
+ Only select the methods that are decorated with an attribute of the specified type.
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Determines whether the specified method has a special name (like properties and events).
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the methods that are public or internal.
+
+
+
+
+ Only select the methods without a return value
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+
+
+ Asserts that the current collection contains the specified object. Elements are compared
+ using their implementation.
+
+ An object, or of objects that are expected to be in the collection.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+
+
+ Asserts that a nullable boolean value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+
+
+ Asserts that a nullable boolean value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+
+
+ Asserts that the value is equal to the specified value.
+
+ The expected value
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that a nullable numeric value has the expected value.
+
+
Asserts that a nullable numeric value is not null.
@@ -1927,101 +2760,355 @@
Zero or more objects to format using the placeholders in .
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+ You can use the for a more fluent way of specifying a .
+
+
+
+
+ Contains a number of methods to assert that a nullable is in the expected state.
+
+
+
+
+ Asserts that the time difference of the current is greater than zero.
+
+
+
+
+ Asserts that the time difference of the current is greater than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+
+
+ Asserts that the time difference of the current is less than zero.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+
+
+ Asserts that the time difference of the current is equal to the
+ specified time.
+
+ The expected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+
+
+ Asserts that the time difference of the current is not equal to the
+ specified time.
+
+ The unexpected time difference
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is less than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+
+
+ Asserts that the time difference of the current is greater than or equal to the
+ specified time.
+
+ The time difference to which the current value will be compared
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
Gets the object which value is being asserted.
+
+
+ Asserts that a nullable value is not null.
+
+
+
+
+ Asserts that a nullable value is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+
+
+ Asserts that a nullable value is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Contains a number of methods to assert that an is in the expected state.
+
+
- Asserts that the value of an object equals another object when using it's method.
+ Asserts that the value of an object equals another object when using it's method.
+ The expected value
- Asserts that an object equals another object using its implementation.
+ Asserts that an object equals another object using its implementation.
+ The expected value
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that an object does not equal another object using it's method.
+ Asserts that an object does not equal another object using it's method.
+ The unexpected value
- Asserts that an object does not equal another object using it's method.
+ Asserts that an object does not equal another object using it's method.
+ The unexpected value
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Asserts that an object reference refers to the exact same object as another object reference.
+ Asserts that an object reference refers to the exact same object as another object reference.
+ The expected object
- Asserts that an object reference refers to the exact same object as another object reference.
+ Asserts that an object reference refers to the exact same object as another object reference.
+ The expected object
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Asserts that an object reference refers to a different object than another object reference refers to.
+ Asserts that an object reference refers to a different object than another object reference refers to.
+ The unexpected object
- Asserts that an object reference refers to a different object than another object reference refers to.
+ Asserts that an object reference refers to a different object than another object reference refers to.
+ The unexpected object
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is null.
+
+
+
+
+ Asserts that the object is null.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
+
+
+ Asserts that the object is not null.
+
+
+
+
+ Asserts that the object is not null.
+
+
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
- Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
- the values of all properties.
+ Asserts that an object can be serialized and deserialized using the XML serializer and that it stills retains
+ the values of all properties.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Provides methods for selecting one or properties of an object and comparing them with another object.
+ Provides methods for selecting one or more properties of an object and comparing them with another object.
@@ -2041,25 +3128,42 @@
except those that the other object does not have.
+
+
+ Perform recursive property comparison of the child properties for objects that are of incompatible type.
+
+
Includes all properties of when comparing the subject with another object using ,
except those specified using a property expression.
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
+
+
+
+ Excludes the properties specified by the from the comparison.
+
+ A single property expression to exclude.
+ Optional list of additional property expressions to exclude.
Includes only those properties of when comparing the subject with another object using
that were specified using a property expression.
+ A single property expression to include.
+ Optional list of additional property expressions to include.
Asserts that the previously selected properties of have the same value as the equally named
properties of .
+ The object to compare the current object with
- Property values are considered equal if, after converting them to the requested type, calling
+ Property values are considered equal if, after converting them to the requested type, calling
returns true.
@@ -2068,8 +3172,9 @@
Asserts that the previously selected properties of have the same value as the equally named
properties of .
+ The object to compare the current object with
- Property values are considered equal if, after converting them to the requested type, calling
+ Property values are considered equal if, after converting them to the requested type, calling
returns true.
@@ -2085,278 +3190,605 @@
Gets the object which value is being asserted.
-
+
Is responsible for validating the equality of one or more properties of a subject with another object.
+
+
+ Contains assertions for the objects returned by the parent .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The that contains the specified properties
+ The properties.
+
+
+
+ Asserts that the selected properties are virtual.
+
+
+
+
+ Asserts that the selected properties are virtual.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+
+
+ Asserts that the selected methods are decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the that contains the specified properties.
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Allows for fluent selection of properties of a type through reflection.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The type from which to select methods.
+
+
+
+ Only select the properties that are decorated with an attribute of the specified type.
+
+
+
+
+ Only select the properties that return the specified type
+
+
+
+
+ The resulting objects.
+
+
+
+
+ Gets the from which to select methods.
+
+
+
+
+ Only select the properties that have a public or internal getter.
+
+
+
+
+ Contains a number of methods to assert that a is in the expected state.
+
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- Asserts that a string is equal to another string.
+ Asserts that a string is equal to another string.
-
- The expected string.
-
+ The expected string.
- Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
+ Asserts that a string is exactly the same as another string, including the casing and any leading or trailing whitespace.
-
- The expected string.
-
+ The expected string.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
-
- The string that the subject is expected to be equivalent to.
+
+ The string that the subject is expected to be equivalent to.
- Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
- the exception of the casing.
+ Asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with
+ the exception of the casing.
- The string that the subject is expected to be equivalent to.
+ The string that the subject is expected to be equivalent to.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+
+
+ Asserts that a string is not exactly the same as the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to be equivalent to.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
- Asserts that a string matches a wildcard pattern.
+ Asserts that a string matches a wildcard pattern.
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- Asserts that a string matches a wildcard pattern.
+ Asserts that a string matches a wildcard pattern.
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that a string does not match a wildcard pattern.
+ Asserts that a string does not match a wildcard pattern.
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- Asserts that a string does not match a wildcard pattern.
+ Asserts that a string does not match a wildcard pattern.
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that a string matches a wildcard pattern.
+ Asserts that a string matches a wildcard pattern.
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- Asserts that a string matches a wildcard pattern.
+ Asserts that a string matches a wildcard pattern.
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
- Asserts that a string does not match a wildcard pattern.
+ Asserts that a string does not match a wildcard pattern.
-
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- Asserts that a string does not match a wildcard pattern.
+ Asserts that a string does not match a wildcard pattern.
- The wildcard pattern with which the subject is matched, where * and ? have special meanings.
+ The wildcard pattern with which the subject is matched, where * and ? have special meanings.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+
+
+ Asserts that a string starts with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to start with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends exactly with the specified ,
+ including the casing and any leading or trailing whitespace.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+
+
+ Asserts that a string ends with the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to end with.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
- Asserts that a string contains another (fragment of a) string.
+ Asserts that a string contains another (fragment of a) string.
-
- The (fragement of a) string that the current string should contain.
+
+ The (fragement of a) string that the current string should contain.
- Asserts that a string contains another (fragment of a) string.
+ Asserts that a string contains another (fragment of a) string.
- The (fragement of a) string that the current string should contain.
+ The (fragement of a) string that the current string should contain.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+
+
+ Asserts that a string contains the specified ,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
- Asserts that a string does not contain another (fragment of a) string.
+ Asserts that a string does not contain another (fragment of a) string.
-
- The (fragement of a) string that the current string should not contain.
+
+ The (fragement of a) string that the current string should not contain.
- Asserts that a string does not contain another (fragment of a) string.
+ Asserts that a string does not contain another (fragment of a) string.
- The (fragement of a) string that the current string should not contain.
+ The (fragement of a) string that the current string should not contain.
- A formatted phrase as is supported by explaining why the assertion
- is needed. If the phrase does not start with the word because, it is prepended automatically.
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
- Zero or more objects to format using the placeholders in .
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+
+
+ Asserts that a string does not contain the specified string,
+ including any leading or trailing whitespace, with the exception of the casing.
+
+ The string that the subject is not expected to contain.
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is .
+
+
+
+
+ Asserts that a string is .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not .
+
+
+
+
+ Asserts that a string is not .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+
+
+ Asserts that a string has the specified length.
+
+ The expected length of the string
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is null.
+
+
+
+
+ Asserts that a string is null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that a string is not null.
+
+
+
+
+ Asserts that a string is not null.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
- Ensures that a string is neither null or empty.
+ Asserts that a string is neither null nor .
- Ensures that a string is neither null or empty.
+ Asserts that a string is neither null nor .
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Ensures that a string is neither null or empty.
+ Asserts that a string is either null or .
- Ensures that a string is either null or empty.
+ Asserts that a string is either null or .
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Ensures that a string is neither null nor empty nor white space
+ Asserts that a string is neither null nor nor white space
- Ensures that a string is neither null nor empty nor white space
+ Asserts that a string is neither null nor nor white space
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Ensures that a string is either null or empty or white space
+ Asserts that a string is either null or or white space
- Ensures that a string is either null or empty or white space
+ Asserts that a string is either null or or white space
- A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
- start with the word because, it is prepended to the message.
+ A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
- Zero or more values to use for filling in any compatible placeholders.
+ Zero or more values to use for filling in any compatible placeholders.
- Gets the object which value is being asserted.
+ Gets the object which value is being asserted.
- Dedicated class for comparing two strings and generating consistent error messages.
+ Dedicated class for comparing two strings and generating consistent error messages.
@@ -2371,8 +3803,12 @@
- Provides methods for asserting that two objects differ in certain ways.
+ Contains a number of methods to assert that two objects differ in the expected way.
+
+ You can use the and for a more fluent
+ way of specifying a or a .
+
@@ -2425,29 +3861,123 @@
Provides the logic and the display text for a .
-
+
- Returns a based on a number of milliseconds.
+ Contains a number of methods to assert that a meets certain expectations.
-
+
- Returns a based on a number of seconds.
+ Initializes a new instance of the class.
-
+
- Returns a based on a number of minutes.
+ Asserts that the current type is equal to the specified type.
-
+
- Returns a based on a number of hours.
+ Asserts that the current type is equal to the specified type.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+
+
+ Asserts that the current type is equal to the specified type.
+
+ The expected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
-
+
- Returns a based on a number of days.
+ Asserts that the current type is not equal to the specified type.
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+
+
+ Asserts that the current type is not equal to the specified type.
+
+ The unexpected type
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Asserts that the is decorated with the specified .
+
+
+
+
+ Asserts that the is decorated with the specified .
+
+
+ A formatted phrase as is supported by explaining why the assertion
+ is needed. If the phrase does not start with the word because, it is prepended automatically.
+
+
+ Zero or more objects to format using the placeholders in .
+
+
+
+
+ Gets the object which value is being asserted.
+
+
+
+
+ Extension methods for getting method and property selectors for a type.
+
+
+
+
+ Returns a method selector for the current .
+
+
+
+
+ Returns a property selector for the current .
@@ -2472,6 +4002,204 @@
Replaces all characters that might conflict with formatting placeholders and newlines with their escaped counterparts.
+
+
+ Extension methods on to allow for a more fluent way of specifying a .
+
+
+ Instead of
+
+ new DateTime(2011, 3, 10)
+
+ you can write 3.March(2011)
+
+ Or even
+
+ 3.March(2011).At(09, 30)
+
+
+
+
+
+ Returns a new value for the specified and
+ in the month January.
+
+
+
+
+ Returns a new value for the specified and
+ in the month February.
+
+
+
+
+ Returns a new value for the specified and
+ in the month March.
+
+
+
+
+ Returns a new value for the specified and
+ in the month April.
+
+
+
+
+ Returns a new value for the specified and
+ in the month May.
+
+
+
+
+ Returns a new value for the specified and
+ in the month June.
+
+
+
+
+ Returns a new value for the specified and
+ in the month July.
+
+
+
+
+ Returns a new value for the specified and
+ in the month August.
+
+
+
+
+ Returns a new value for the specified and
+ in the month September.
+
+
+
+
+ Returns a new value for the specified and
+ in the month October.
+
+
+
+
+ Returns a new value for the specified and
+ in the month November.
+
+
+
+
+ Returns a new value for the specified and
+ in the month December.
+
+
+
+
+ Returns a new value for the specified and .
+
+
+
+
+ Returns a new value for the specified and time with the specified
+ , and optionally .
+
+
+
+
+ Returns a new value that is the current before the
+ specified .
+
+
+
+
+ Returns a new value that is the current after the
+ specified .
+
+
+
+
+ Is thrown when the detects an object that was already processed.
+
+
+
+
+ Simple class for detecting an attempt to process an object that were already processed.
+
+
+
+
+ Extension methods on to allow for a more fluent way of specifying a .
+
+
+ Instead of
+
+ TimeSpan.FromHours(12)
+
+ you can write
+
+ 12.Hours()
+
+ Or even
+
+ 12.Hours().And(30.Minutes()).
+
+
+
+
+
+ Returns a based on a number of milliseconds.
+
+
+
+
+ Returns a based on a number of seconds.
+
+
+
+
+ Returns a based on a number of seconds, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of minutes.
+
+
+
+
+ Returns a based on a number of minutes, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of hours.
+
+
+
+
+ Returns a based on a number of hours, and add the specified
+ .
+
+
+
+
+ Returns a based on a number of days.
+
+
+
+
+ Returns a based on a number of days, and add the specified
+ .
+
+
+
+
+ Convenience method for chaining multiple calls to the methods provided by this class.
+
+
+ 23.Hours().And(59.Minutes())
+
+
Provides extension methods for monitoring and querying events.
@@ -2496,6 +4224,10 @@
Asserts that an object has raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -2521,6 +4253,10 @@
Asserts that an object has not raised the event for a particular property.
+ The object exposing the event.
+
+ A lambda expression referring to the property for which the property changed event should have been raised.
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
start with the word because, it is prepended to the message.
@@ -2609,17 +4345,17 @@
- This class is used to store data about an intercepted event
+ This class is used to store data about an intercepted event
-
+
- Default constructor stores the parameters the event was raised with
+ Default constructor stores the parameters the event was raised with
- Parameters for the event
+ Parameters for the event
@@ -2698,6 +4434,28 @@
Gets an object that wraps and executes a conditional or unconditional verification.
+
+
+ Indicates whether the current can handle the specified .
+
+ The value for which to create a .
+
+ true if the current can handle the specified value; otherwise, false.
+
+
+
+
+ Returns a that represents this instance.
+
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
+
Determines whether this instance can handle the specified value.
@@ -2707,13 +4465,17 @@
true if this instance can handle the specified value; otherwise, false.
-
+
- Returns a that represents this instance.
+ Returns a that represents this instance.
- The value.
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
- A that represents this instance.
+ A that represents this instance.
@@ -2723,24 +4485,45 @@
- A list of objects responsible for formatting the objects represented by placeholders.
+ A list of objects responsible for formatting the objects represented by placeholders.
-
+
- Returns a human-readable representation of a particular object.
+ Returns a human-readable representation of a particular object.
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
-
+
- Returns a human-readable representation of a particular object that starts on a new line.
+ Returns a human-readable representation of a particular object that starts on a new line.
+ The value for which to create a .
+
+ The level of nesting for the supplied value. This is used for indenting the format string for objects that have
+ no override.
+
+
+ A that represents this instance.
+
Provides a fluent API for verifying an arbitrary condition.
+
+
+ Represents the phrase that can be used in as a placeholder for the reason of an assertion.
+
+
Initializes a new instance of the class.
@@ -2751,6 +4534,29 @@
Gets the name or identifier of the current subject, or a default value if the subject is not known.
+
+
+ Specify the condition that must be satisfied.
+
+ If true the verification will be succesful.
+
+
+
+ Specify a predicate that with the condition that must be satisfied.
+
+
+
+
+ Specify the reason why you expect the condition to be true.
+
+
+ A formatted phrase explaining why the condition should be satisfied. If the phrase does not
+ start with the word because, it is prepended to the message.
+
+
+ Zero or more values to use for filling in any compatible placeholders.
+
+
Define the failure message for the verification.
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb b/packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb
rename to packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.pdb
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml b/packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml
rename to packages/FluentAssertions.1.6.0/Lib/sl40/Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.xml
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/System.Xml.Serialization.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/System.Xml.Serialization.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/System.Xml.Serialization.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/System.Xml.Serialization.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/System.Xml.Serialization.xml b/packages/FluentAssertions.1.6.0/Lib/sl40/System.Xml.Serialization.xml
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/System.Xml.Serialization.xml
rename to packages/FluentAssertions.1.6.0/Lib/sl40/System.Xml.Serialization.xml
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/de/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/de/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/de/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/de/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/es/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/es/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/es/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/es/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/fr/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/fr/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/fr/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/fr/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/it/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/it/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/it/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/it/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ja/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/ja/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ja/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/ja/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ko/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/ko/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ko/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/ko/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ru/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/ru/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/ru/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/ru/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/zh-Hans/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/zh-Hans/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/zh-Hans/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/zh-Hans/System.Xml.Serialization.resources.dll
diff --git a/packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/zh-Hant/System.Xml.Serialization.resources.dll b/packages/FluentAssertions.1.6.0/Lib/sl40/zh-Hant/System.Xml.Serialization.resources.dll
similarity index 100%
rename from packages/FluentAssertions.1.5.0.0/Lib/Silverlight 4.0/zh-Hant/System.Xml.Serialization.resources.dll
rename to packages/FluentAssertions.1.6.0/Lib/sl40/zh-Hant/System.Xml.Serialization.resources.dll