Don
unread,Dec 3, 2009, 10:42:31 AM12/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gmock-user
Hi,
Is there any way that I can use GMock to partially mock all instances
of a particular class? I've tried using regular meta-programming to
achieve this, but for some reason GORM domain classes seem to be
resistant to meta-programming.
Specifically what I want to do is just mock the getName() method of a
GORM domain class. This is a real method, i.e. there is no setName()
method or property 'name'.
Thanks,
Don