3782: Isolate file_enumerator stubbing to the current test. Introduce mocha.
3782: Remove obsolete helper method.
3782: Merge branch 'master' into 3782-stub-file-content
3782: Use stubbed file content for "inactive user can retrieve user agreement" test.
3782: Merge branch 'master' into 3782-stub-file-content
Merge branch '3782-stub-file-content' refs #3782