예제 #1
0
        public void HasReadOnlyId()
        {
            Meeting meeting = CreateMeeting();

            bool idIsReadOnly = !meeting.GetType().GetProperty(nameof(meeting.Id)).CanWrite;

            Assert.True(idIsReadOnly, "Meeting id is not read only");
        }