public void SetReadOnly_Execute_SetsIsReadOnly()
        {
            // Arrange
            var target = new EstimationResult(Enumerable.Empty <Member>());

            // Act
            target.SetReadOnly();

            // Verify
            Assert.IsTrue(target.IsReadOnly);
        }
        public void IndexerSet_IsReadOnly_InvalidOperationException()
        {
            // Arrange
            var team       = new ScrumTeam("test team");
            var master     = team.SetScrumMaster("master");
            var member     = (Member)team.Join("member", false);
            var target     = new EstimationResult(new Member[] { master, member });
            var estimation = new Estimation();

            // Act
            target.SetReadOnly();
            target[member] = estimation;
        }