Describe the solution you'd like
I'd like to be able to observe common/interesting events (from a testing perspective) that happen into a MockFileSystem.
Why? I'm creating a cache service that uses an IFileSystem and I need to test that a file is only written once.
Describe alternatives you've considered
I've tried to implement my own MockFileSystem using System.Reactive, but the work is a bit overwhelming.
Describe the solution you'd like
I'd like to be able to observe common/interesting events (from a testing perspective) that happen into a
MockFileSystem.Why? I'm creating a cache service that uses an
IFileSystemand I need to test that a file is only written once.Describe alternatives you've considered
I've tried to implement my own
MockFileSystemusing System.Reactive, but the work is a bit overwhelming.