Exemplo n.º 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>();
 }
Exemplo n.º 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>();
        }