コード例 #1
0
        public void WhenAppendContents_ThenThrowsNotSupportedException()
        {
            IFile roFile = GetReadOnlyFileDecorator();

            Assert.Throws <NotSupportedException>(() => roFile.AppendContents("anything"));
        }