Mock FileInfo.Delete does not consider MockFileData.AllowedFileShare property #794
Labels
area: testinghelpers
Issues that address the testing helpers
state: ready to pick
Issues that are ready for being worked on
state: released
Issues that are released
type: bug
Issues that describe misbehaving functionality
Describe the bug
Mock FileInfo.Delete does not consider the MockFileData.AllowedFileShare property during the delete operation. Similar to #747, but on the FileInfo interface.
To Reproduce
The following test reproduces the error:
Expected behavior
As the AllowedFileShare is set to NONE, an exception should be throw when the delete is attempted.
Thanks!
The text was updated successfully, but these errors were encountered: