Arc.Unit.Tests.Infrastructure.Data.NHibernate.SpecificationConverterTests.Should_translate_property_is_greater_than_constant_value_to_criteria C# (CSharp) Method

Should_translate_property_is_greater_than_constant_value_to_criteria() private method

        public void Should_translate_property_is_greater_than_constant_value_to_criteria()
        {
            var specification = new Specification<DomainObject>(x => x.Id > 1);

            var actual = CriterionConverter.Convert(specification);

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual.ToString(), Is.EqualTo("Id > 1"));
        }
SpecificationConverterTests