Exemplo n.º 1
0
        public void un_happy_path_with_one_difference()
        {
            specification.Check(x => x.Names, x => x.Number, x => x.Description);

            original.Number  = 2;
            persisted.Number = 3;

            specification.GetMessages().Single().ShouldEqual("Number:  original was 2, but the persisted value was 3");
        }