--
You received this message because you are subscribed to the Google Groups "mockito" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito+u...@googlegroups.com.
To post to this group, send email to moc...@googlegroups.com.
Visit this group at http://groups.google.com/group/mockito.
For more options, visit https://groups.google.com/d/optout.
Now I see that postCode is a field. I'm working with Groovy and I thought that you're using a getter :) anyway you can't mock a string and you shouldn't do that. Can you write what you want to achieve?