I'm trying to create a mocking tool for unit tests in JAVA.