Replace Deprecated MockitoAnnotations.initMocks#542
Replace Deprecated MockitoAnnotations.initMocks#542zjdaniels1985 wants to merge 2 commits intohivemq:masterfrom
Conversation
…ed openMocks method
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @zjdaniels1985 on file. In order for us to review and merge your code, please sign our Contributor License Agreement to get yourself added. You'll find the CLA and more information here: https://github.com/hivemq/hivemq-community/blob/master/CONTRIBUTING.adoc#contributor-license-agreement |
…ockitoannotation_initMocks
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @zjdaniels1985 on file. In order for us to review and merge your code, please sign our Contributor License Agreement to get yourself added. You'll find the CLA and more information here: https://github.com/hivemq/hivemq-community/blob/master/CONTRIBUTING.adoc#contributor-license-agreement |
|
Fixed in the recent commits (getting completely rid of the explicit mock initialization). |
Replace the deprecated MockitoAnnotations.initMocks() method with the recommended Mockito.Annotations.openMocks() method
Motivation
Changes
Old:
New: