vendredi 6 février 2015

Can Spock spy for real object?

I wanna spy method calls of Spring bean. I checked docs - Spock can create spy only by constructor. Can Spock wrap already existing object by spy?


Aucun commentaire:

Enregistrer un commentaire