<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Should Assertion Library</title><link>http://should.codeplex.com/project/feeds/rss</link><description>This is a set of test framework agnostic extensions assertion extensions.        </description><item><title>Created Issue: Add .LessThan(x) and .GreaterThan(x) [9]</title><link>http://should.codeplex.com/workitem/9</link><description>.InRange&amp;#40;a,b&amp;#41; is all very well but it&amp;#39;s a bit clunky and not very expressive which is the whole point of using the library is it not&amp;#63;&lt;br /&gt;</description><author>annakata</author><pubDate>Thu, 14 Feb 2013 13:55:27 GMT</pubDate><guid isPermaLink="false">Created Issue: Add .LessThan(x) and .GreaterThan(x) [9] 20130214015527P</guid></item><item><title>Commented Issue: Provide signed assemblies. [6]</title><link>http://should.codeplex.com/workitem/6</link><description>I would like to mention that you should provide signed assemblies rather than non signed. &lt;br /&gt;&lt;br /&gt;Usually the test project is unsigned and why should it be&amp;#63; &lt;br /&gt;This I guess is okay for most of the guys however there is the &lt;br /&gt;not so uncommon problem of testing internal functionality.&lt;br /&gt;&lt;br /&gt;And while this is not recommended it is sometimes necessary. &lt;br /&gt;And the way to test internals is to add an InternalVisibileTo attribute in your project.&lt;br /&gt;This requires that the testing project is signed, and thus requires all its referenced assemblies&lt;br /&gt;to be signed. &lt;br /&gt;&lt;br /&gt;I will for my project sign it on my own, however given that it &lt;br /&gt;would not hurt you should sign them. &lt;br /&gt;&lt;br /&gt;Comments: Hi,&amp;#10;I&amp;#39;ve started using ShouldFluent in the test assembly of this my open source project &amp;#40;http&amp;#58;&amp;#47;&amp;#47;commandline.codeplex.com&amp;#47;&amp;#41;.&amp;#10;&amp;#10;After users asked my to sign the main assembly, to keep InternalsVisibleTo from main to test project I need to sign test project too. &amp;#40;Now using source inclusion linking files&amp;#41;.&amp;#10;&amp;#10;So I really like to have a singed version of ShouldFluent.dll.&amp;#10;&amp;#10;Regards,&amp;#10;Giacomo Stelluti Scala&amp;#10;&amp;#40;gsscoder&amp;#64;gmail.com&amp;#41;</description><author>gsscoder</author><pubDate>Sat, 26 Jan 2013 05:43:08 GMT</pubDate><guid isPermaLink="false">Commented Issue: Provide signed assemblies. [6] 20130126054308A</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=15</link><description>&lt;div class="wikidoc"&gt;This project is now hosted at : &lt;a href="https://github.com/erichexter/Should"&gt;https://github.com/erichexter/Should&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Sun, 13 Jan 2013 13:16:44 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130113011644P</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=14</link><description>&lt;div class="wikidoc"&gt;This project is now hosted at : https://github.com/erichexter/Should&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Sun, 13 Jan 2013 13:16:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130113011608P</guid></item><item><title>Reviewed: 1.1.12 (dic 14, 2012)</title><link>http://should.codeplex.com/releases/view/53681#ReviewBy-gsscoder</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Excellent work&amp;#33; Thank you...</description><author>gsscoder</author><pubDate>Fri, 14 Dec 2012 12:43:36 GMT</pubDate><guid isPermaLink="false">Reviewed: 1.1.12 (dic 14, 2012) 20121214124336P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I filled out their form and they are going to hook up the CI off of the current nant build.. once we get it working we can conver that old build to something newer.&lt;/p&gt;
&lt;p&gt;The source is now on github.com/erichexter/should&amp;nbsp; feel free to submit pull requests.&lt;/p&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Wed, 23 May 2012 18:27:59 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120523062759P</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=13</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
The &lt;b&gt;Should Assertion Library&lt;/b&gt; provides a set of extension methods for test assertions for AAA and BDD style tests.  It provides assertions only, and as a result it is Test runner agnostic.  The assertions are a direct fork of the &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fxunit.codeplex.com&amp;referringTitle=Home"&gt;xUnit&lt;/a&gt; test assertions.  This project was born because test runners &lt;b&gt;Should&lt;/b&gt; be independent of the the assertions!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install should from nuget&lt;/b&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
PM&lt;span style="color:Gray;"&gt;&amp;gt;&lt;/span&gt; install&lt;span style="color:Gray;"&gt;-&lt;/span&gt;package should
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The following example shows some of the the assertions that are available for objects, booleans, string, and collections.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.ShouldBeNull();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.ShouldBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.ShouldEqual(obj);
    obj.ShouldNotBeNull();
    obj.ShouldNotBeSameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.ShouldNotBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;string&lt;/span&gt;));
    obj.ShouldNotEqual(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.ShouldNotBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeSameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldContain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotBeEmpty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotContain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.ShouldBeFalse();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.ShouldBeTrue();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.ShouldBeEmpty();
    list.ShouldNotContain(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.ShouldNotBeEmpty();
    list.ShouldContain(item);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Should also provides a fluent API.  Here are the same assertions as above using the fluent API.  Should.Fluent is a direct port of &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fcode.google.com%2fp%2fshouldit&amp;referringTitle=Home"&gt;ShouldIt&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install should from nuget&lt;/b&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
PhM&lt;span style="color:Gray;"&gt;&amp;gt;&lt;/span&gt; install&lt;span style="color:Gray;"&gt;-&lt;/span&gt;package ShouldFluent
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.Should().Be.Null();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.Should().Be.OfType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.Should().Equal(obj);
    obj.Should().Not.Be.Null();
    obj.Should().Not.Be.SameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.Should().Not.Be.OfType&amp;lt;&lt;span style="color:Blue;"&gt;string&lt;/span&gt;&amp;gt;();
    obj.Should().Not.Equal(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.Should().Not.Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.SameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Be.Empty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.Should().Be.False();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.Should().Be.True();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.Should().Count.Zero();
    list.Should().Not.Contain.Item(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.Should().Not.Be.Empty();
    list.Should().Contain.Item(item);
};
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Here are some additional examples of assertions using the fluent API:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; numbers = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt; { 1, 1, 2, 3 };
    numbers.Should().Contain.Any(x =&amp;gt; x == 1);
    numbers
        .Should().Count.AtLeast(1)
        .Should().Count.NoMoreThan(5)
        .Should().Count.Exactly(4)
        .Should().Contain.One(x =&amp;gt; x &amp;gt; 2);

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; id = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; Guid();
    id.Should().Be.Empty();

    id = Guid.NewGuid();
    id.Should().Not.Be.Empty();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; date = DateTime.Now;
    date1.Should().Be.Today();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; str = &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
    str.Should().Be.NullOrEmpty();                

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; one = &lt;span style="color:#A31515;"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;;
    one.Should().Be.ConvertableTo&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt;();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; idString = Guid.NewGuid().ToString();
    idString.Should().Be.ConvertableTo&amp;lt;Guid&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 17:57:47 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120522055747P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Perfect, I'll get on it.&lt;/p&gt;
&lt;p&gt;I'm not sure what version they are running, I'll check it out.&lt;/p&gt;&lt;/div&gt;</description><author>mikeobrien</author><pubDate>Tue, 22 May 2012 14:49:21 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120522024921P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;yes.. I think I would like to publish the ci to a myfeed feed and then just publish releases to the public nuget.. i assume the codebetter server is using TC 7? so the nuget setup is super easy.&lt;/p&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:34:07 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120522023407P</guid></item><item><title>Commented Issue: Adding Messages [7]</title><link>http://should.codeplex.com/workitem/7</link><description>It would be good if you could add a customizable error message to each assertion. Sometimes it&amp;#39;s a bit difficult to pinpoint exactly which assertion is failing.&lt;br /&gt;&lt;br /&gt;Maybe at the end of each assertion there could be a .Message&amp;#40;&amp;#34;This assertion failed because x &amp;#33;&amp;#61; y&amp;#34;&amp;#41;.&lt;br /&gt;Comments: That sounds like a good idea</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:32:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: Adding Messages [7] 20120522023247P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Awesome! You still interested in getting an automated build/deploy going? If so I can get a script written and get eveything setup on the code better CI server.&lt;/p&gt;&lt;/div&gt;</description><author>mikeobrien</author><pubDate>Tue, 22 May 2012 14:23:06 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120522022306P</guid></item><item><title>New Post: IHideObjectMembers</title><link>http://should.codeplex.com/discussions/230878</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I think that is a great idea.. &amp;nbsp;we do take pull requests.. i&lt;/p&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:15:05 GMT</pubDate><guid isPermaLink="false">New Post: IHideObjectMembers 20120522021505P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;With the release of Github for Windows.. I talked it over with Tim and we are willing to move to github. &amp;nbsp;I will apply the current pull requests and we can get this thing moved.&lt;/p&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:13:19 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120522021319P</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=12</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
The &lt;b&gt;Should Assertion Library&lt;/b&gt; provides a set of extension methods for test assertions for AAA and BDD style tests.  It provides assertions only, and as a result it is Test runner agnostic.  The assertions are a direct fork of the &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fxunit.codeplex.com&amp;referringTitle=Home"&gt;xUnit&lt;/a&gt; test assertions.  This project was born because test runners &lt;b&gt;Should&lt;/b&gt; be independent of the the assertions!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Install should from nuget&lt;/b&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
PM&lt;span style="color:Gray;"&gt;&amp;gt;&lt;/span&gt; install&lt;span style="color:Gray;"&gt;-&lt;/span&gt;package should
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The following example shows some of the the assertions that are available for objects, booleans, string, and collections.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.ShouldBeNull();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.ShouldBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.ShouldEqual(obj);
    obj.ShouldNotBeNull();
    obj.ShouldNotBeSameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.ShouldNotBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;string&lt;/span&gt;));
    obj.ShouldNotEqual(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.ShouldNotBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeSameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldContain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotBeEmpty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotContain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.ShouldBeFalse();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.ShouldBeTrue();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.ShouldBeEmpty();
    list.ShouldNotContain(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.ShouldNotBeEmpty();
    list.ShouldContain(item);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Should also provides a fluent API.  Here are the same assertions as above using the fluent API.  Should.Fluent is a direct port of &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fcode.google.com%2fp%2fshouldit&amp;referringTitle=Home"&gt;ShouldIt&lt;/a&gt;.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.Should().Be.Null();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.Should().Be.OfType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.Should().Equal(obj);
    obj.Should().Not.Be.Null();
    obj.Should().Not.Be.SameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.Should().Not.Be.OfType&amp;lt;&lt;span style="color:Blue;"&gt;string&lt;/span&gt;&amp;gt;();
    obj.Should().Not.Equal(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.Should().Not.Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.SameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Be.Empty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.Should().Be.False();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.Should().Be.True();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.Should().Count.Zero();
    list.Should().Not.Contain.Item(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.Should().Not.Be.Empty();
    list.Should().Contain.Item(item);
};
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Here are some additional examples of assertions using the fluent API:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; numbers = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt; { 1, 1, 2, 3 };
    numbers.Should().Contain.Any(x =&amp;gt; x == 1);
    numbers
        .Should().Count.AtLeast(1)
        .Should().Count.NoMoreThan(5)
        .Should().Count.Exactly(4)
        .Should().Contain.One(x =&amp;gt; x &amp;gt; 2);

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; id = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; Guid();
    id.Should().Be.Empty();

    id = Guid.NewGuid();
    id.Should().Not.Be.Empty();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; date = DateTime.Now;
    date1.Should().Be.Today();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; str = &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
    str.Should().Be.NullOrEmpty();                

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; one = &lt;span style="color:#A31515;"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;;
    one.Should().Be.ConvertableTo&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt;();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; idString = Guid.NewGuid().ToString();
    idString.Should().Be.ConvertableTo&amp;lt;Guid&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:02:32 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120522020232P</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=11</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
The &lt;b&gt;Should Assertion Library&lt;/b&gt; provides a set of extension methods for test assertions for AAA and BDD style tests.  It provides assertions only, and as a result it is Test runner agnostic.  The assertions are a direct fork of the &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fxunit.codeplex.com&amp;referringTitle=Home"&gt;xUnit&lt;/a&gt; test assertions.  This project was born because test runners &lt;b&gt;Should&lt;/b&gt; be independent of the the assertions!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;bold&lt;/b&gt; Install should from nuget &lt;b&gt;bold&lt;/b&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
PM&lt;span style="color:Gray;"&gt;&amp;gt;&lt;/span&gt; install&lt;span style="color:Gray;"&gt;-&lt;/span&gt;package should
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The following example shows some of the the assertions that are available for objects, booleans, string, and collections.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.ShouldBeNull();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.ShouldBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.ShouldEqual(obj);
    obj.ShouldNotBeNull();
    obj.ShouldNotBeSameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.ShouldNotBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;string&lt;/span&gt;));
    obj.ShouldNotEqual(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.ShouldNotBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeSameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldContain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotBeEmpty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotContain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.ShouldBeFalse();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.ShouldBeTrue();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.ShouldBeEmpty();
    list.ShouldNotContain(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.ShouldNotBeEmpty();
    list.ShouldContain(item);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Should also provides a fluent API.  Here are the same assertions as above using the fluent API.  Should.Fluent is a direct port of &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fcode.google.com%2fp%2fshouldit&amp;referringTitle=Home"&gt;ShouldIt&lt;/a&gt;.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.Should().Be.Null();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.Should().Be.OfType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.Should().Equal(obj);
    obj.Should().Not.Be.Null();
    obj.Should().Not.Be.SameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.Should().Not.Be.OfType&amp;lt;&lt;span style="color:Blue;"&gt;string&lt;/span&gt;&amp;gt;();
    obj.Should().Not.Equal(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.Should().Not.Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.SameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Be.Empty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.Should().Be.False();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.Should().Be.True();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.Should().Count.Zero();
    list.Should().Not.Contain.Item(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.Should().Not.Be.Empty();
    list.Should().Contain.Item(item);
};
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Here are some additional examples of assertions using the fluent API:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; numbers = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt; { 1, 1, 2, 3 };
    numbers.Should().Contain.Any(x =&amp;gt; x == 1);
    numbers
        .Should().Count.AtLeast(1)
        .Should().Count.NoMoreThan(5)
        .Should().Count.Exactly(4)
        .Should().Contain.One(x =&amp;gt; x &amp;gt; 2);

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; id = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; Guid();
    id.Should().Be.Empty();

    id = Guid.NewGuid();
    id.Should().Not.Be.Empty();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; date = DateTime.Now;
    date1.Should().Be.Today();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; str = &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
    str.Should().Be.NullOrEmpty();                

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; one = &lt;span style="color:#A31515;"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;;
    one.Should().Be.ConvertableTo&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt;();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; idString = Guid.NewGuid().ToString();
    idString.Should().Be.ConvertableTo&amp;lt;Guid&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:02:15 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120522020215P</guid></item><item><title>Updated Wiki: Home</title><link>http://should.codeplex.com/wikipage?version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h2&gt;Project Description&lt;/h2&gt;
The &lt;b&gt;Should Assertion Library&lt;/b&gt; provides a set of extension methods for test assertions for AAA and BDD style tests.  It provides assertions only, and as a result it is Test runner agnostic.  The assertions are a direct fork of the &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fxunit.codeplex.com&amp;referringTitle=Home"&gt;xUnit&lt;/a&gt; test assertions.  This project was born because test runners &lt;b&gt;Should&lt;/b&gt; be independent of the the assertions!&lt;br /&gt;&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
PM&lt;span style="color:Gray;"&gt;&amp;gt;&lt;/span&gt; install&lt;span style="color:Gray;"&gt;-&lt;/span&gt;package should
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;The following example shows some of the the assertions that are available for objects, booleans, string, and collections.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.ShouldBeNull();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.ShouldBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.ShouldEqual(obj);
    obj.ShouldNotBeNull();
    obj.ShouldNotBeSameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.ShouldNotBeType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;string&lt;/span&gt;));
    obj.ShouldNotEqual(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.ShouldNotBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeInRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.ShouldBeSameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldContain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotBeEmpty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.ShouldNotContain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.ShouldBeFalse();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.ShouldBeTrue();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.ShouldBeEmpty();
    list.ShouldNotContain(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.ShouldNotBeEmpty();
    list.ShouldContain(item);
}
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Should also provides a fluent API.  Here are the same assertions as above using the fluent API.  Should.Fluent is a direct port of &lt;a href="http://should.codeplex.com/wikipage?title=http%3a%2f%2fcode.google.com%2fp%2fshouldit&amp;referringTitle=Home"&gt;ShouldIt&lt;/a&gt;.&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;object&lt;/span&gt; obj = &lt;span style="color:Blue;"&gt;null&lt;/span&gt;;
    obj.Should().Be.Null();

    obj = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    obj.Should().Be.OfType(&lt;span style="color:Blue;"&gt;typeof&lt;/span&gt;(&lt;span style="color:Blue;"&gt;object&lt;/span&gt;));
    obj.Should().Equal(obj);
    obj.Should().Not.Be.Null();
    obj.Should().Not.Be.SameAs(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());
    obj.Should().Not.Be.OfType&amp;lt;&lt;span style="color:Blue;"&gt;string&lt;/span&gt;&amp;gt;();
    obj.Should().Not.Equal(&lt;span style="color:#A31515;"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;);

    obj = &lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;;
    obj.Should().Not.Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;y&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.InRange(&lt;span style="color:#A31515;"&gt;&amp;quot;a&amp;quot;&lt;/span&gt;, &lt;span style="color:#A31515;"&gt;&amp;quot;z&amp;quot;&lt;/span&gt;);
    obj.Should().Be.SameAs(&lt;span style="color:#A31515;"&gt;&amp;quot;x&amp;quot;&lt;/span&gt;);

    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;This&amp;quot;&lt;/span&gt;);
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Be.Empty();
    &lt;span style="color:#A31515;"&gt;&amp;quot;This String&amp;quot;&lt;/span&gt;.Should().Not.Contain(&lt;span style="color:#A31515;"&gt;&amp;quot;foobar&amp;quot;&lt;/span&gt;);

    &lt;span style="color:Blue;"&gt;false&lt;/span&gt;.Should().Be.False();
    &lt;span style="color:Blue;"&gt;true&lt;/span&gt;.Should().Be.True();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; list = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;object&lt;/span&gt;&amp;gt;();
    list.Should().Count.Zero();
    list.Should().Not.Contain.Item(&lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;());

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; item = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; &lt;span style="color:Blue;"&gt;object&lt;/span&gt;();
    list.Add(item);
    list.Should().Not.Be.Empty();
    list.Should().Contain.Item(item);
};
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Here are some additional examples of assertions using the fluent API:&lt;br /&gt;&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;
&lt;span style="color:Blue;"&gt;public&lt;/span&gt; &lt;span style="color:Blue;"&gt;void&lt;/span&gt; Should_fluent_assertions()
{
    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; numbers = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; List&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt; { 1, 1, 2, 3 };
    numbers.Should().Contain.Any(x =&amp;gt; x == 1);
    numbers
        .Should().Count.AtLeast(1)
        .Should().Count.NoMoreThan(5)
        .Should().Count.Exactly(4)
        .Should().Contain.One(x =&amp;gt; x &amp;gt; 2);

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; id = &lt;span style="color:Blue;"&gt;new&lt;/span&gt; Guid();
    id.Should().Be.Empty();

    id = Guid.NewGuid();
    id.Should().Not.Be.Empty();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; date = DateTime.Now;
    date1.Should().Be.Today();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; str = &lt;span style="color:#A31515;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
    str.Should().Be.NullOrEmpty();                

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; one = &lt;span style="color:#A31515;"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;;
    one.Should().Be.ConvertableTo&amp;lt;&lt;span style="color:Blue;"&gt;int&lt;/span&gt;&amp;gt;();

    &lt;span style="color:Blue;"&gt;var&lt;/span&gt; idString = Guid.NewGuid().ToString();
    idString.Should().Be.ConvertableTo&amp;lt;Guid&amp;gt;();
}
&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>erichexter</author><pubDate>Tue, 22 May 2012 14:01:44 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120522020144P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I second Mike. &amp;nbsp;I had a similar thought.&lt;/p&gt;&lt;/div&gt;</description><author>taylonr</author><pubDate>Sat, 19 May 2012 20:48:56 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120519084856P</guid></item><item><title>New Post: New Release and Nuget package?</title><link>http://should.codeplex.com/discussions/247927</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;&lt;strong&gt;erichexter wrote:&lt;/strong&gt;&lt;br /&gt; I can put together a new release on nuget... It is easier for me to just script out the nuget push in our ci server than to manually update the releases on the codeplex project. I have so many OSS projects going right now, I am running out of bandwidth to keep  it all going.
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;That being said, if someone would like to act as a release manager for this project, I would certainly appreciate the help!&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;What would you think about moving the source to github and we could setup an automated build (And nuget push) on the codebetter CI? I'd be willing to handle this if it's ok w/ you.&lt;/p&gt;&lt;/div&gt;</description><author>mikeobrien</author><pubDate>Sun, 06 May 2012 17:00:57 GMT</pubDate><guid isPermaLink="false">New Post: New Release and Nuget package? 20120506050057P</guid></item><item><title>Created Issue: Suggestion to override System.Object.Equals [8]</title><link>http://should.codeplex.com/workitem/8</link><description>I know it is bad practice to override System.Object.Equals to do something other than checking for equality. I think I would be a good idea to alias the method to the Equal method on the Should and the Be objects. I have come across some tests in my project where Should.Be.Equals was used and the tests should have been failing, but weren&amp;#39;t. I&amp;#39;m willing to do the coding if you think your project should be altered in such a way. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Also, thanks for the library. My team and I love it. &lt;br /&gt;</description><author>wusher</author><pubDate>Tue, 20 Dec 2011 18:00:01 GMT</pubDate><guid isPermaLink="false">Created Issue: Suggestion to override System.Object.Equals [8] 20111220060001P</guid></item><item><title>New Post: Review after playing with it for a while</title><link>http://should.codeplex.com/discussions/275940</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;This library is great.&amp;nbsp; I really like that I don't have to type open and close parens () for every part of the assertion.&lt;/p&gt;
&lt;p&gt;One thing that is missing is that the &amp;quot;Error Message&amp;quot; needs to be more brief when an assertion fails.&amp;nbsp; For example: this is a current error message:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Test method IntegrationTests.IntegrationOrderTests.SaveNewOrders_NormalOrders_NoErrors threw exception:
&lt;br&gt;
&amp;nbsp;&amp;nbsp; Should.Core.Exceptions.EqualException: Assert.Equal() Failure&lt;br&gt;
&amp;nbsp;&amp;nbsp; Expected: 1&lt;br&gt;
&amp;nbsp;&amp;nbsp; Actual:&amp;nbsp;&amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;I know what method failed already.&amp;nbsp; What I really want to see in the Error Message is this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; Expected: 1&amp;nbsp; &amp;nbsp; Actual:&amp;nbsp;&amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;That way I don't have to open up the results of every test that failed to see that the assertion failed.&lt;/p&gt;
&lt;/div&gt;</description><author>Vaccano</author><pubDate>Fri, 14 Oct 2011 18:53:23 GMT</pubDate><guid isPermaLink="false">New Post: Review after playing with it for a while 20111014065323P</guid></item></channel></rss>