Arc.Unit.Tests.Domain.Specifications.SpecificationTests.Should_return_itself_on_adding_or_operator_when_other_specification_is_null C# (CSharp) Method

Should_return_itself_on_adding_or_operator_when_other_specification_is_null() private method

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