May 15, 2012 at 4:02 PM
Edited May 15, 2012 at 4:08 PM
I've touched on this in an issue, but I really need some information on how to implement something like a method in the MockDirectoryInfo class, for example the SetAccessControl method, for which the base calls:
But this looks at a physical directory location which obviously we don't have, so can you give a quick example as to how we should be assigning access controls to the mock object instance?
In which case, should we be doing something like:
If the Parent property had been implemented that is?
Or should we be extending mockFileDataAccessor to get the instance:
I'd imagine this logic would apply to the other classes and methods also, so should make implementations of missing features much easier, I just need clarification as to how you envisaged this working :-)