Arc.Unit.Tests.Infrastructure.Data.NHibernate.SpecificationConverterTests.Should_translate_property_equals_property_value_to_criteria C# (CSharp) 메소드

Should_translate_property_equals_property_value_to_criteria() 개인적인 메소드

        public void Should_translate_property_equals_property_value_to_criteria()
        {
            var values = new SpecificationConverterTestValues();
            values.Name = "Tiit";

            var specification = new Specification<DomainObject>(x => x.Name == values.Name);

            var actual = CriterionConverter.Convert(specification);

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual.ToString(), Is.EqualTo("Name = Tiit"));
        }
SpecificationConverterTests