Skip to content

Commit 71450d5

Browse files
author
pduvvur
committed
Updated comments
1 parent 24591f5 commit 71450d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

payments-api/src/test/java/com/intuit/payment/services/base/ServiceBaseTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void testSendRequest_errorPageNotFound() throws BaseException {
189189
.typeReference(new TypeReference<ECheck>() {})
190190
.build();
191191

192-
// Since AuthorizationException is a custom exception and we need to assert the Errors
192+
// Since BadRequestException is a custom exception and we need to assert the Errors
193193
// inside the exception object, we're not using "expectedExceptions"
194194
try {
195195
serviceBase.sendRequest(serviceRequest);
@@ -225,7 +225,7 @@ public void testSendRequest_errorDeserializingErrorResponse() throws BaseExcepti
225225
.typeReference(new TypeReference<ECheck>() {})
226226
.build();
227227

228-
// Since AuthorizationException is a custom exception and we need to assert the Errors
228+
// Since BadRequestException is a custom exception and we need to assert the Errors
229229
// inside the exception object, we're not using "expectedExceptions"
230230
try {
231231
serviceBase.sendRequest(serviceRequest);
@@ -282,7 +282,7 @@ public void testSendRequest_errorBadRequest() throws BaseException {
282282
.typeReference(new TypeReference<ECheck>() {})
283283
.build();
284284

285-
// Since AuthorizationException is a custom exception and we need to assert the Errors
285+
// Since BadRequestException is a custom exception and we need to assert the Errors
286286
// inside the exception object, we're not using "expectedExceptions"
287287
try {
288288
serviceBase.sendRequest(serviceRequest);
@@ -311,7 +311,7 @@ public void testSendRequest_errorInternalServerError() throws BaseException {
311311
.typeReference(new TypeReference<ECheck>() {})
312312
.build();
313313

314-
// Since AuthorizationException is a custom exception and we need to assert the Errors
314+
// Since ServiceException is a custom exception and we need to assert the Errors
315315
// inside the exception object, we're not using "expectedExceptions"
316316
try {
317317
serviceBase.sendRequest(serviceRequest);
@@ -340,7 +340,7 @@ public void testSendRequest_errorMovedPermanently() {
340340
.typeReference(new TypeReference<ECheck>() {})
341341
.build();
342342

343-
// Since AuthorizationException is a custom exception and we need to assert the Errors
343+
// Since BaseException is a custom exception and we need to assert the Errors
344344
// inside the exception object, we're not using "expectedExceptions"
345345
try {
346346
serviceBase.sendRequest(serviceRequest);

0 commit comments

Comments
 (0)