@@ -76,8 +76,9 @@ public void testGet() throws IOException {
7676 entry ("strings" , listOf ("a" , "b" , "c" )),
7777 entry ("number" , 123 ),
7878 entry ("numbers" , listOf (1 , 2 , 2 , 3 , 3 , 3 )),
79- entry ("flag" , true ),
8079 entry ("character" , "abc" ),
80+ entry ("characters" , listOf ('c' , 'b' , 'b' , 'a' , 'a' , 'a' )),
81+ entry ("flag" , true ),
8182 entry ("dayOfWeek" , dayOfWeek ),
8283 entry ("date" , date ),
8384 entry ("dates" , listOf (date )),
@@ -97,8 +98,9 @@ public void testGet() throws IOException {
9798 assertEquals (listOf ("a" , "b" , "c" ), result .getStrings ());
9899 assertEquals (123 , result .getNumber ());
99100 assertEquals (setOf (1 , 2 , 3 ), result .getNumbers ());
100- assertTrue (result .getFlag ());
101101 assertEquals ('a' , result .getCharacter ());
102+ assertEquals (sortedSetOf ('a' , 'b' , 'c' ), result .getCharacters ());
103+ assertTrue (result .getFlag ());
102104 assertEquals (dayOfWeek , result .getDayOfWeek ());
103105 assertEquals (date , result .getDate ());
104106 assertEquals (listOf (date ), result .getDates ());
@@ -114,13 +116,17 @@ public void testGet() throws IOException {
114116 public void testGetProxy () throws IOException {
115117 var testServiceProxy = WebServiceProxy .of (TestServiceProxy .class , baseURI );
116118
117- var result = testServiceProxy .testGet ("héllo&gøod+bye?" , listOf ("a" , "b" , "c" ), 123 , setOf (1 , 2 , 3 ), 'a' );
119+ var result = testServiceProxy .testGet ("héllo&gøod+bye?" , listOf ("a" , "b" , "c" ),
120+ 123 , setOf (1 , 2 , 3 ), 'a' , sortedSetOf ('a' , 'b' , 'c' ),
121+ true );
118122
119123 assertEquals ("héllo&gøod+bye?" , result .getString ());
120124 assertEquals (listOf ("a" , "b" , "c" ), result .getStrings ());
121125 assertEquals (123 , result .getNumber ());
122126 assertEquals (setOf (1 , 2 , 3 ), result .getNumbers ());
123127 assertEquals ('a' , result .getCharacter ());
128+ assertEquals (sortedSetOf ('a' , 'b' , 'c' ), result .getCharacters ());
129+ assertTrue (result .getFlag ());
124130 }
125131
126132 @ Test
@@ -617,7 +623,7 @@ public void testMissingRequiredParameter() {
617623 public void testMissingRequiredParameterProxy () {
618624 var testServiceProxy = WebServiceProxy .of (TestServiceProxy .class , baseURI );
619625
620- assertThrows (IllegalArgumentException .class , () -> testServiceProxy .testGet (null , null , null , null , '\0' ));
626+ assertThrows (IllegalArgumentException .class , () -> testServiceProxy .testGet (null , null , 0 , null , '\0' , null , false ));
621627 }
622628
623629 @ Test
0 commit comments