Create mock objects in Groovy with metaprogramming | Hacker News Reader