public void Should_not_match_if_arg_spec_throws()
 {
     var spec = new ArgumentMatchesSpecification<string>(x => Throw());
     Assert.False(spec.IsSatisfiedBy("hello world"));
 }
 public void Should_not_match_when_predicate_is_not_satisfied()
 {
     var spec = new ArgumentMatchesSpecification<int>(x => x < 5);
     Assert.False(spec.IsSatisfiedBy(7));
 }
 public void Should_match_when_predicate_compares_null_to_null()
 {
     var spec = new ArgumentMatchesSpecification<string>(x => x == null);
     Assert.True(spec.IsSatisfiedBy(null));
 }