public void HasReadOnlyId() { Meeting meeting = CreateMeeting(); bool idIsReadOnly = !meeting.GetType().GetProperty(nameof(meeting.Id)).CanWrite; Assert.True(idIsReadOnly, "Meeting id is not read only"); }