@@ -144,7 +144,7 @@ void handleErrorNullResponse() throws Exception {
144
144
}
145
145
146
146
@ Test // SPR-16108
147
- public void hasErrorForUnknownStatusCode () throws Exception {
147
+ void hasErrorForUnknownStatusCode () throws Exception {
148
148
HttpHeaders headers = new HttpHeaders ();
149
149
headers .setContentType (MediaType .TEXT_PLAIN );
150
150
@@ -156,7 +156,7 @@ public void hasErrorForUnknownStatusCode() throws Exception {
156
156
}
157
157
158
158
@ Test // SPR-9406
159
- public void handleErrorUnknownStatusCode () throws Exception {
159
+ void handleErrorUnknownStatusCode () throws Exception {
160
160
HttpHeaders headers = new HttpHeaders ();
161
161
headers .setContentType (MediaType .TEXT_PLAIN );
162
162
@@ -169,7 +169,7 @@ public void handleErrorUnknownStatusCode() throws Exception {
169
169
}
170
170
171
171
@ Test // SPR-17461
172
- public void hasErrorForCustomClientError () throws Exception {
172
+ void hasErrorForCustomClientError () throws Exception {
173
173
HttpHeaders headers = new HttpHeaders ();
174
174
headers .setContentType (MediaType .TEXT_PLAIN );
175
175
@@ -209,7 +209,7 @@ void handleErrorForCustomClientError() throws Exception {
209
209
}
210
210
211
211
@ Test // SPR-17461
212
- public void hasErrorForCustomServerError () throws Exception {
212
+ void hasErrorForCustomServerError () throws Exception {
213
213
HttpHeaders headers = new HttpHeaders ();
214
214
headers .setContentType (MediaType .TEXT_PLAIN );
215
215
@@ -249,7 +249,7 @@ void handleErrorForCustomServerError() throws Exception {
249
249
}
250
250
251
251
@ Test // SPR-16604
252
- public void bodyAvailableAfterHasErrorForUnknownStatusCode () throws Exception {
252
+ void bodyAvailableAfterHasErrorForUnknownStatusCode () throws Exception {
253
253
HttpHeaders headers = new HttpHeaders ();
254
254
headers .setContentType (MediaType .TEXT_PLAIN );
255
255
TestByteArrayInputStream body = new TestByteArrayInputStream ("Hello World" .getBytes (UTF_8 ));
0 commit comments