Because there are no natural way to record the a one method for object, I had to implement my own InstrumentationFilter to instrument Groovy test runner methods.
If we provide this as a default record method in GTest object, it shortens the script.
The final result will be
new GTest(1, "Hello").record(this, "hello")
==> This calls make hello method in this object recorded.
This is only applied in groovy.