NancyFx/Nancy — pull request #1248 by nerdfury (2013-10-01 12:48:16+00:00)
Title: QueryWrapper.ShouldContain returns True when QueryWrapper.Any() is False

When ShouldContain is used in conjunction with a CSS Query and the query does not match any elements in the response body the test will incorrectly report as "Passed".

```C#
[Fact]
public void Should_display_some_text_on_root_path()
{
var sut = new Browser(new Bootstrapper());

var actual = sut.Get("/");

actual.Body["#missing-element"].ShouldContain("Some Text");
}
```