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>(); }
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>(); }