Sharpen netconf-server methods used in tests 08/105708/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Apr 2023 15:39:38 +0000 (17:39 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Apr 2023 15:44:28 +0000 (17:44 +0200)
commitb491598f509da72b827793336ea352717182ce00
tree6a5be732de54bc3fc2998386a0d6464bca87c164
parent0ff6ea042b7c74fd99c0e48afd7e6e8fb5bdd95d
Sharpen netconf-server methods used in tests

We have a couple of warnings around nulls from get* methods. Switch to
nonnull*/require* to make the testing intent clearer.

Change-Id: Ie6a46cecdcbfbbb1a6a02014cf34b5aa7022d59c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/osgi/NetconfCapabilityMonitoringServiceTest.java
protocol/netconf-server/src/test/java/org/opendaylight/netconf/server/osgi/NetconfSessionMonitoringServiceTest.java