@@ -96,7 +96,7 @@ public void testCreateCharge() throws BaseException {
9696 }
9797
9898 @ Test (expectedExceptions = BaseException .class )
99- public void testCreateCharge_Exception () throws BaseException {
99+ public void testCreateChargeServiceFailure () throws BaseException {
100100
101101 // Build response object
102102 Charge expectedCharge = new Charge .Builder ()
@@ -157,7 +157,7 @@ public void testRetrieveCharge() throws BaseException {
157157 }
158158
159159 @ Test (expectedExceptions = IllegalArgumentException .class )
160- public void testRetrieveCharge_Failure () throws BaseException {
160+ public void testRetrieveChargeInvalidChargeId () throws BaseException {
161161
162162 RequestContext requestContext = new RequestContext ();
163163 requestContext .setBaseUrl ("SomeBaseUrl" );
@@ -206,7 +206,7 @@ public void testCaptureCharge() throws BaseException {
206206 }
207207
208208 @ Test (expectedExceptions = IllegalArgumentException .class )
209- public void testCaptureCharge_Failure () throws BaseException {
209+ public void testCaptureChargeInvalidChargeId () throws BaseException {
210210
211211 Charge expectedCharge = new Charge .Builder ()
212212 .amount (new BigDecimal (1234 ))
@@ -286,7 +286,7 @@ public void testRefundCharge() throws BaseException {
286286 }
287287
288288 @ Test (expectedExceptions = IllegalArgumentException .class )
289- public void testRefundCharge_Failure () throws BaseException {
289+ public void testRefundChargeInvalidChargeId () throws BaseException {
290290
291291 Charge expectedCharge = new Charge .Builder ()
292292 .amount (new BigDecimal (1234 ))
@@ -360,7 +360,7 @@ public void testGetRefund() throws BaseException {
360360 }
361361
362362 @ Test (expectedExceptions = IllegalArgumentException .class )
363- public void testGetRefund_Failure_InvalidChargeId () throws BaseException {
363+ public void testGetRefundInvalidChargeId () throws BaseException {
364364
365365 RequestContext requestContext = new RequestContext ();
366366 requestContext .setBaseUrl ("SomeBaseUrl" );
@@ -373,7 +373,7 @@ public void testGetRefund_Failure_InvalidChargeId() throws BaseException {
373373 }
374374
375375 @ Test (expectedExceptions = IllegalArgumentException .class )
376- public void testGetRefund_Failure_InvalidRefundId () throws BaseException {
376+ public void testGetRefundInvalidRefundId () throws BaseException {
377377
378378 RequestContext requestContext = new RequestContext ();
379379 requestContext .setBaseUrl ("SomeBaseUrl" );
@@ -437,7 +437,7 @@ public void testVoidTransaction() throws BaseException {
437437 }
438438
439439 @ Test (expectedExceptions = IllegalArgumentException .class )
440- public void testVoidTransaction_Failure () throws BaseException {
440+ public void testVoidTransactionInvalidChargeId () throws BaseException {
441441
442442 RequestContext requestContext = new RequestContext ();
443443 requestContext .setBaseUrl ("SomeBaseUrl" );
0 commit comments