예제 #1
0
        public void NullableIntTest_WhenNoValue()
        {
            var record = new NullableIntRecord();

            record.Id.Should().BeNull();
        }
예제 #2
0
        public void NullableIntTest_WhenHasValue()
        {
            var record = new NullableIntRecord(5);

            record.Id.Should().Be(5);
        }