Enforce stubbing in netconf-topology 78/107278/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 5 Aug 2023 21:37:02 +0000 (23:37 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 7 Aug 2023 08:28:31 +0000 (10:28 +0200)
commit044fe2ab870acc2faeb711157b44e618d2563f67
tree5c5ea6d0b9758fef37f73604e7baf8e9d1ef02c2
parent7d353c805ce8f7966b847c41c1dbcee7922614ed
Enforce stubbing in netconf-topology

Fixup existing stubbing and switch Mockito configuration to throw
exception when an unstubbed method is invoked.

Change-Id: Ic854ae949b454e780f267b112c9939c20cbfe44d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit e129dfb7393b4c4cbee911066bc901f3f4b4a0ec)
apps/netconf-topology/pom.xml
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/NetconfDeviceTopologyAdapterTest.java
apps/netconf-topology/src/test/java/org/opendaylight/netconf/topology/spi/NetconfTopologyRPCProviderTest.java