VBMock Activity
Brought to you by:
killian35
So, the technical reason of the error seems to be that the interface on which FileSystemObject is directly based, IFileSystem3, inherits another interface, IFileSystem, and some (actually all) methods of this latter interface don't have the restricted attribute set. Why this is a problem for VB and if its a restriction of VB or of COM itself, I don't know (but it probably simplifies the implementation). However there is a not-too-inconvenient workaround: using IFileSystem as the type of the parameters...
I've got an activeX exe timer class that I'm trying to mock, I've implemented the...
I've been adding unit tests to some legacy code with a reasonable level of success....