示例#1
0
        public void DefaultIntAndStringTest_WhenOnlyRequiredValues()
        {
            var record = new DefaultIntAndStringRecord("5");

            record.Id.Should().Be(5);
            record.Name.Should().Be("5");
        }
示例#2
0
        public void DefaultIntAndStringTest_WhenAllValues()
        {
            var record = new DefaultIntAndStringRecord("5", 6);

            record.Id.Should().Be(6);
            record.Name.Should().Be("5");
        }