Demonstration code of ABAP Test Double Framework (SCN blog)
This is the code which was originally published at https://blogs.sap.com/2018/04/03/short-examples-of-cl_abap_testdouble/
It was tested on a 7.52 SP 1 system.
To download and install the code, either use abapGit, or simply create the two objects manually.