public void Should_return_itself_on_adding_and_operator_when_other_specification_is_null() { var expected = new Specification<string>(s => s.Contains("a")); var target = expected.And(null); Assert.That(target, Is.SameAs(expected)); }