Refactor YT838Test 72/94072/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 5 Dec 2020 13:34:30 +0000 (14:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 5 Dec 2020 13:35:14 +0000 (14:35 +0100)
commit725c9f8e9daabebbb0bb85124f20fa83c6dc460f
treeaba4f820e26f0e741ae8fe67d729dc145c7b93b3
parentb5b039cadb34a19c97929327928818185a6e877c
Refactor YT838Test

We are checking for thrown exceptions here, make use of assertThrows()
and hamcrest to make the reports more understandable.

Change-Id: Ia44be0835897300b86e7896cd7b441f7ccb8fb5c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT838Test.java