Refactor NextHopAttributeParserTest 37/96737/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Jun 2021 14:09:56 +0000 (16:09 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 30 Jun 2021 14:20:40 +0000 (16:20 +0200)
commitbc4e46cb61ef18e637a9884ca7d8c0b868ede744
tree807fcfb16c7f89f0d1644ee85fe4f6114ef6bc6a
parent0132e308eaf5cd180ffd9956a59ceea2c02603c8
Refactor NextHopAttributeParserTest

Use ServiceLoader and assertThrows() to make the suite more reliable.

Change-Id: I02392e48767933e43e6d2efaf756fb7d5267db4c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/parser-impl/src/test/java/org/opendaylight/protocol/bgp/parser/impl/message/update/NextHopAttributeParserTest.java