コード例 #1
0
        public void Should_have_the_proper_change_count()
        {
            _preInsert.Value.Changes.Count().ShouldEqual(2);

            PropertyChange change = _preInsert.Value.Changes.Single(x => x.Name == "Value");

            change.ShouldNotBeNull();

            change.Name.ShouldEqual("Value");
            change.Value.ShouldEqual(223.45m);
            change.OriginalValue.ShouldEqual(null);
        }