I have a backend system which we use a third-party Java API to access from our own applications. I can access the system as a normal user along with other users, but I do no
// pseudocode class LogMethod { List parameters; String method; addCallTo(String method, List params): this.method = method; parameters = params; } }
Have a list of LogMethods and call new LogMethod().addCallTo() before every call in your test method.
LogMethods
new LogMethod().addCallTo()