No, I'm just circumventing the fact that you cannot mock a class having a function called 'method'