tag:blogger.com,1999:blog-7520738.post6469090562086121771..comments2023-09-04T19:01:46.106+05:30Comments on Adaptive Software Solutions: Create mock objects with metaprogrammingParaghttp://www.blogger.com/profile/16885449156962300704noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7520738.post-25083230472381051622009-09-29T19:48:40.628+05:302009-09-29T19:48:40.628+05:30Unfortunately, Groovy does not support mocking of ...Unfortunately, Groovy does not support mocking of static methods with its MockFor implementation. For those needing to test static methods with Groovy Mocks, I provide my own implementation of StaticMockFor here:<br><br /><a href="http://europatech.blogspot.com/2009/09/def-original-clazz_25.html" rel="nofollow">http://europatech.blogspot.com/2009/09/def-original-clazz_25.html</a>Gerardohttps://www.blogger.com/profile/12603692897241517025noreply@blogger.com