@@ -20,7 +20,7 @@ class NotesServiceITest {
2020 private WebTestClient client ;
2121
2222 @ Test
23- void testGetNotes () throws Exception {
23+ void testGetNotes () {
2424 client .get ().uri (notesURI ).headers (this ::authenticatedCredentials ).exchange ()
2525 .expectStatus ().isOk ()
2626 .expectBody ()
@@ -40,7 +40,7 @@ void testGetNotes() throws Exception {
4040 }
4141
4242 @ Test
43- void testGetAddresses () throws Exception {
43+ void testGetAddresses () {
4444 client .get ().uri (addressesURI + "?$filter=businessPartner eq '10401010'" ).headers (this ::authenticatedCredentials ).exchange ()
4545 .expectStatus ().isOk ()
4646 .expectBody ()
@@ -54,7 +54,7 @@ void testGetAddresses() throws Exception {
5454 }
5555
5656 @ Test
57- void testGetNoteWithAddress () throws Exception {
57+ void testGetNoteWithAddress () {
5858 client .get ().uri (notesURI + "?$expand=address" ).headers (this ::authenticatedCredentials ).exchange ()
5959 .expectStatus ().isOk ()
6060 .expectBody ()
@@ -83,7 +83,7 @@ void testGetNoteWithAddress() throws Exception {
8383 }
8484
8585 @ Test
86- void testGetSuppliersWithNotes () throws Exception {
86+ void testGetSuppliersWithNotes () {
8787 client .get ().uri (addressesURI + "?$expand=notes($orderby=ID)&$filter=businessPartner eq '10401010'" ).headers (this ::authenticatedCredentials ).exchange ()
8888 .expectStatus ().isOk ()
8989 .expectBody ()
@@ -108,7 +108,7 @@ void testGetSuppliersWithNotes() throws Exception {
108108 }
109109
110110 @ Test
111- void testGetNotesToSupplier () throws Exception {
111+ void testGetNotesToSupplier () {
112112 client .get ().uri (notesURI + "(ID=5efc842c-c70d-4ee2-af1d-81c7d257aff7,IsActiveEntity=true)/address" ).headers (this ::authenticatedCredentials ).exchange ()
113113 .expectStatus ().isOk ()
114114 .expectBody ()
@@ -119,7 +119,7 @@ void testGetNotesToSupplier() throws Exception {
119119 }
120120
121121 @ Test
122- void testGetSupplierToNotes () throws Exception {
122+ void testGetSupplierToNotes () {
123123 client .get ().uri (addressesURI + "(businessPartner='10401010',ID='100')/notes" ).headers (this ::authenticatedCredentials ).exchange ()
124124 .expectStatus ().isOk ()
125125 .expectBody ()
@@ -135,7 +135,7 @@ void testGetSupplierToNotes() throws Exception {
135135 }
136136
137137 @ Test
138- void testGetSupplierToSpecificNote () throws Exception {
138+ void testGetSupplierToSpecificNote () {
139139 client .get ().uri (addressesURI + "(businessPartner='10401010',ID='100')/notes(ID=83e2643b-aecc-47d3-9f85-a8ba14eff07d,IsActiveEntity=true)" )
140140 .headers (this ::authenticatedCredentials )
141141 .exchange ()
@@ -148,7 +148,7 @@ void testGetSupplierToSpecificNote() throws Exception {
148148 }
149149
150150 @ Test
151- void testGetNotesWithNestedExpands () throws Exception {
151+ void testGetNotesWithNestedExpands () {
152152 client .get ().uri (notesURI + "?$select=note&$expand=address($select=postalCode;$expand=notes($select=note))&$top=1" ).headers (this ::authenticatedCredentials ).exchange ()
153153 .expectStatus ().isOk ()
154154 .expectBody ()
@@ -164,7 +164,7 @@ void testGetNotesWithNestedExpands() throws Exception {
164164 }
165165
166166 @ Test
167- void testGetAddressesWithNestedExpands () throws Exception {
167+ void testGetAddressesWithNestedExpands () {
168168 client .get ().uri (addressesURI + "?$select=postalCode&$expand=notes($select=note;$expand=address($select=postalCode))&$filter=businessPartner eq '1000020'" )
169169 .headers (this ::authenticatedCredentials )
170170 .exchange ()
0 commit comments