From: Nat P. <nat...@b1...> - 2003-12-02 17:22:25
|
The current dynamic mock class has explicit code to support returning the mock's name from a call to getMockName on the PROXY! I am confused about what this is needed for and how it is meant to work in practice. When would you need to get the mock name by calling the proxy? And to get the mock name through the proxy, you would have to add a method called getMockName to the interface being mocked. Why on earth would one want to do this? It's late in the day, so perhaps I am suffering from brain fade, but is this actually useful? I'll rip it out if there's no need for it. Cheers, Nat. |