Exemple #1
0
        public void base_entity_members_are_correct()
        {
            var sut = new MyEntity();

            sut.Id = 725634;

            using (new AssertionScope())
            {
                sut.Id.Should().Be(725634);
                sut.GetHashCode().Should().BeGreaterThan(0);
                sut.Validate(null).Should().BeEmpty();
            }
        }