File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
src/test/java/ch/loway/oss/ari4java/tools/http Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,17 @@ public void tearDown() {
5353 }
5454
5555 @ Test
56- public void testInitializeBadURL () {
57- assertThrows (URISyntaxException .class , () -> {
58- setupTestClient (false );
59- client .initialize (":" , "" , "" );
60- });
56+ public void testInitializeBadURL () throws URISyntaxException {
57+ setupTestClient (false );
58+ assertThrows (URISyntaxException .class , () ->
59+ client .initialize (":" , "" , "" ));
6160 }
6261
6362 @ Test
64- public void testInitializeInvalidURL () {
65- assertThrows (IllegalArgumentException .class , () -> {
66- setupTestClient (false );
67- client .initialize ("ws://localhost:8088/" , "" , "" );
68- });
63+ public void testInitializeInvalidURL () throws URISyntaxException {
64+ setupTestClient (false );
65+ assertThrows (IllegalArgumentException .class , () ->
66+ client .initialize ("ws://localhost:8088/" , "" , "" ));
6967 }
7068
7169 @ Test
You can’t perform that action at this time.
0 commit comments