You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moc...@googlegroups.com
HI There, I have some expensive setup i need to run in an @BeforeClass method. Is there a way to use a mocked class in this method as it's static? Im getting all sorts of compile errors.
Thanks for your help!
Georgi
Georgi Knox
unread,
Jul 20, 2009, 7:25:51 PM7/20/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to moc...@googlegroups.com
Sorry but I had made some mistakes in my code. ive now fixed this by declaring the mock within the setup method not using the @mock annotation.