This project is a test case for the issue #18 of the Delphi-Mocks library:
**Access Violation when creating a stub in a different method **
The project setup will (hopefully) show the problem.
It was originally built with Delphi XE5
It uses DUnit and of course, Delphi-Mocks
Make sure you clone recursively to get the Delphi-Mocks library folder.