What mocking framework you were using?
Anónimo
Now we do have a legacy system need to revamp, no documentation, the ex developer is not around, nobody can ask. You need to understand by yourself, do the requirement gathering with different people and translate to the requirements and come out with the new idea to simplify the flow, Can you do it?