public void WriteToStream_Exception() { Action act = () => _TestDocument.WriteToStream(null); act.Should().Throw <ArgumentNullException>(); }