Is your feature request related to a problem? Please describe.
It should be possible to throw exception while call methods on FileSystemMock.
Describe the solution you'd like
_fileSystemMock.Setup(q => q.File.WriteAllText(It.IsAny<string>(), It.IsAny())).Throws<OutOfMemoryException>();
Is your feature request related to a problem? Please describe.
It should be possible to throw exception while call methods on FileSystemMock.
Describe the solution you'd like
_fileSystemMock.Setup(q => q.File.WriteAllText(It.IsAny<string>(), It.IsAny())).Throws<OutOfMemoryException>();