I've just got a funny thing. I was doing a refactor my Android project using RoboSpock (https://github.com/Polidea/RoboSpock) and wanted to Mock some object in order to have a really good unit test I got the wall why I could't make mock to check if a method was invoked.After an hour of looking what is going on I realized that Spock is based on cglib so it can't mock final class (we all know this) but also doesn't allow to mock final methods...Hope I helped.--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spockframewor...@googlegroups.com.
To post to this group, send email to spockfr...@googlegroups.com.
Visit this group at http://groups.google.com/group/spockframework?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.