Пример #1
0
 public void ExoticCoverage()
 {
     Stream stream = null;
     var tfc = new TeaFileCore(stream, true);
     tfc.Description = null;
     Executing.This(() => tfc.IsAccessibleWith(null, ItemDescriptionElements.All)).Should().NotThrow();
     Executing.This(() => tfc.ItemDescriptionExists()).Should().Throw<InvalidOperationException>();
 }
Пример #2
0
        public void ExoticCoverage()
        {
            Stream stream = null;
            var    tfc    = new TeaFileCore(stream, true);

            tfc.Description = null;
            Executing.This(() => tfc.IsAccessibleWith(null, ItemDescriptionElements.All)).Should().NotThrow();
            Executing.This(() => tfc.ItemDescriptionExists()).Should().Throw <InvalidOperationException>();
        }