Replace deprecated initMocks() in openflowplugin-impl 66/99966/2
authorSangwook Ha <sangwook.ha@verizon.com>
Fri, 4 Mar 2022 09:28:51 +0000 (01:28 -0800)
committerRobert Varga <nite@hq.sk>
Fri, 11 Mar 2022 14:22:33 +0000 (14:22 +0000)
commit37a73f34f0bc5ac0aeae114e585f399e28b2786d
treeebda5082bf4ee0112d2f770387093009c22d3b4d
parentb1c1559cd650e1d717ceac169d0659126c4c6a3c
Replace deprecated initMocks() in openflowplugin-impl

initMocks has been deprecated. Use MockitoJUnitRunner instead
and remove unnecessary stubbing in openflowplugin-impl.

JIRA: OPNFLWPLUG-1122
Change-Id: Iaf9843a0d310e85964c440f2e82310bc9ad95fd0
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/services/sal/SalRoleServiceImplTest.java