Hey i'm trying to upgrade my JMockIt from version 1.14 to version 1.18. A lot of mocked objects in the class i'm working on use cascading attribute of @Mocked
@Mocked(cascading = false)
It appears that the attribute was removed in version 1.17. After upgrading JMockIt I will probably have to delete this attribute and my question is how did the attribute used to affect the mocked objects? Will all the tests work in the same way after deleting the attribute? If not what changes I would have to make to my code? I haven't used JMockIT for a long time and I'm unable to find any informations about this on the internet.I think the fact that it is no longer supported had something to do with that. Thanks
Aucun commentaire:
Enregistrer un commentaire