DSC Score
18%
Dependency Scenario Coverage
Gaps to Fix
69
missing scenarios
Classes with Gaps
2 / 2
need attention
Scenarios Covered
16
of 85 total
OrderService
com.example.payment.OrderService
DSC 0%
โถ
6 methods
28 scenarios
โ 0 covered
โ 28 missing
OrderService
com.example.payment.OrderService
send()
0% DSC
โ 0
โ 1
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | completes normally | Missing core flow test. The basic execution path without any external dependency interactions is completely untested. | โ MISSING |
reserve()
0% DSC
โ 0
โ 1
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns boolean | Missing core flow test. The basic execution path without any external dependency interactions is completely untested. | โ MISSING |
release()
0% DSC
โ 0
โ 1
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | completes normally | Missing core flow test. The basic execution path without any external dependency interactions is completely untested. | โ MISSING |
processOrder()
0% DSC
โ 0
โ 11
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ true notificationClient.send()[1] โ completes normally | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S02 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ true notificationClient.send()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ true notificationClient.send()[1] โ MUST_BE_CALLED | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S04 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ true notificationClient.send()[1] โ NOT_CALLED | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S05 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ false notificationClient.send()[1] โ completes normally | RefundResponse.failed | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.failed. | โ MISSING |
| S06 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ false notificationClient.send()[1] โ RuntimeException | RefundResponse.failed | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.failed. | โ MISSING |
| S07 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ false notificationClient.send()[1] โ MUST_BE_CALLED | RefundResponse.failed | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.failed. | โ MISSING |
| S08 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ false notificationClient.send()[1] โ NOT_CALLED | RefundResponse.failed | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.failed. | โ MISSING |
| S09 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ RuntimeException notificationClient.send()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S10 | orderRepository.findById()[1] โ null inventoryService.reserve()[1] โ NOT_CALLED notificationClient.send()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S11 | orderRepository.findById()[1] โ RuntimeException inventoryService.reserve()[1] โ NOT_CALLED notificationClient.send()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
cancelOrder()
0% DSC
โ 0
โ 9
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ completes normally notificationClient.send()[1] โ completes normally | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S02 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ completes normally notificationClient.send()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ completes normally notificationClient.send()[1] โ MUST_BE_CALLED | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S04 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ RuntimeException notificationClient.send()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S05 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ MUST_BE_CALLED notificationClient.send()[1] โ completes normally | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S06 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ MUST_BE_CALLED notificationClient.send()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S07 | orderRepository.findById()[1] โ Order(valid) inventoryService.release()[1] โ MUST_BE_CALLED notificationClient.send()[1] โ MUST_BE_CALLED | completes normally | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in completes normally. | โ MISSING |
| S08 | orderRepository.findById()[1] โ null inventoryService.release()[1] โ NOT_CALLED notificationClient.send()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S09 | orderRepository.findById()[1] โ RuntimeException inventoryService.release()[1] โ NOT_CALLED notificationClient.send()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
checkStatus()
0% DSC
โ 0
โ 5
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ true | returns boolean | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in returns boolean. | โ MISSING |
| S02 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ false | RefundResponse.failed | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.failed. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) inventoryService.reserve()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S04 | orderRepository.findById()[1] โ null inventoryService.reserve()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S05 | orderRepository.findById()[1] โ RuntimeException inventoryService.reserve()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
PaymentService
com.example.payment.PaymentService
DSC 28%
โถ
16 methods
57 scenarios
โ 16 covered
โ 41 missing
PaymentService
com.example.payment.PaymentService
success()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns RefundResponse | No gap. Scenario is tested. | โ COVERED |
failed()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns RefundResponse | No gap. Scenario is tested. | โ COVERED |
getCode()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns String | No gap. Scenario is tested. | โ COVERED |
from()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns TransferResponse | No gap. Scenario is tested. | โ COVERED |
findById()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns Order | No gap. Scenario is tested. | โ COVERED |
refund()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns PaymentResponse | No gap. Scenario is tested. | โ COVERED |
transfer()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns PaymentResponse | No gap. Scenario is tested. | โ COVERED |
publish()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | completes normally | No gap. Scenario is tested. | โ COVERED |
log()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | completes normally | No gap. Scenario is tested. | โ COVERED |
getPremiumPolicy()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns RefundPolicy | No gap. Scenario is tested. | โ COVERED |
getStandardPolicy()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns RefundPolicy | No gap. Scenario is tested. | โ COVERED |
processRefund()
8% DSC
โ 1
โ 11
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) eventPublisher.publish()[1] โ completes normally | RefundResponse.success | No gap. Scenario is tested. | โ COVERED |
| S02 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) eventPublisher.publish()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) eventPublisher.publish()[1] โ MUST_BE_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S04 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) eventPublisher.publish()[1] โ NOT_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S05 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null eventPublisher.publish()[1] โ completes normally | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S06 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null eventPublisher.publish()[1] โ RuntimeException | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S07 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null eventPublisher.publish()[1] โ MUST_BE_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S08 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null eventPublisher.publish()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S09 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ RuntimeException eventPublisher.publish()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S10 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ NOT_CALLED eventPublisher.publish()[1] โ NOT_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S11 | orderRepository.findById()[1] โ null paymentClient.refund()[1] โ NOT_CALLED eventPublisher.publish()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S12 | orderRepository.findById()[1] โ RuntimeException paymentClient.refund()[1] โ NOT_CALLED eventPublisher.publish()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
processRefundWithRetry()
7% DSC
โ 1
โ 13
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) auditLogger.log()[1] โ completes normally | RefundResponse.success | No gap. Scenario is tested. | โ COVERED |
| S02 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) auditLogger.log()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) auditLogger.log()[1] โ MUST_BE_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S04 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ PaymentResponse(valid) auditLogger.log()[1] โ NOT_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S05 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null auditLogger.log()[1] โ completes normally | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S06 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null auditLogger.log()[1] โ RuntimeException | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S07 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null auditLogger.log()[1] โ MUST_BE_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S08 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ null auditLogger.log()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S09 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ RuntimeException auditLogger.log()[1] โ completes normally | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S10 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ RuntimeException auditLogger.log()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S11 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ RuntimeException auditLogger.log()[1] โ MUST_BE_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S12 | orderRepository.findById()[1] โ Order(valid) paymentClient.refund()[1] โ NOT_CALLED auditLogger.log()[1] โ NOT_CALLED | RefundResponse.success | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in RefundResponse.success. | โ MISSING |
| S13 | orderRepository.findById()[1] โ null paymentClient.refund()[1] โ NOT_CALLED auditLogger.log()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S14 | orderRepository.findById()[1] โ RuntimeException paymentClient.refund()[1] โ NOT_CALLED auditLogger.log()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
getRefundPolicy()
14% DSC
โ 1
โ 6
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | policyService.getPremiumPolicy()[1] โ Object(valid) policyService.getStandardPolicy()[1] โ NOT_CALLED | returns RefundPolicy | No gap. Scenario is tested. | โ COVERED |
| S02 | policyService.getPremiumPolicy()[1] โ null policyService.getStandardPolicy()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | policyService.getPremiumPolicy()[1] โ RuntimeException policyService.getStandardPolicy()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S04 | policyService.getPremiumPolicy()[1] โ NOT_CALLED policyService.getStandardPolicy()[1] โ Object(valid) | returns RefundPolicy | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in returns RefundPolicy. | โ MISSING |
| S05 | policyService.getPremiumPolicy()[1] โ NOT_CALLED policyService.getStandardPolicy()[1] โ null | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S06 | policyService.getPremiumPolicy()[1] โ NOT_CALLED policyService.getStandardPolicy()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S07 | policyService.getPremiumPolicy()[1] โ NOT_CALLED policyService.getStandardPolicy()[1] โ NOT_CALLED | returns RefundPolicy | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in returns RefundPolicy. | โ MISSING |
isValidAmount()
100% DSC
โ 1
โ 0
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | No dependencies | returns boolean | No gap. Scenario is tested. | โ COVERED |
transfer()
8% DSC
โ 1
โ 11
| ID | Stub Configuration | Expected Outcome | Gap Rationale | Status |
|---|---|---|---|---|
| S01 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ Order(valid) paymentClient.transfer()[1] โ PaymentResponse(valid) | returns TransferResponse | No gap. Scenario is tested. | โ COVERED |
| S02 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ Order(valid) paymentClient.transfer()[1] โ null | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S03 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ Order(valid) paymentClient.transfer()[1] โ RuntimeException | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S04 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ Order(valid) paymentClient.transfer()[1] โ NOT_CALLED | returns TransferResponse | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in returns TransferResponse. | โ MISSING |
| S05 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ null paymentClient.transfer()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S06 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ RuntimeException paymentClient.transfer()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S07 | orderRepository.findById()[1] โ Order(valid) orderRepository.findById()[2] โ NOT_CALLED paymentClient.transfer()[1] โ NOT_CALLED | returns TransferResponse | Missing combination test. A scenario where the dependencies behave exactly like this is missing. We cannot guarantee the system will result in returns TransferResponse. | โ MISSING |
| S08 | orderRepository.findById()[1] โ null orderRepository.findById()[2] โ Order(valid) paymentClient.transfer()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S09 | orderRepository.findById()[1] โ null orderRepository.findById()[2] โ null paymentClient.transfer()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S10 | orderRepository.findById()[1] โ null orderRepository.findById()[2] โ RuntimeException paymentClient.transfer()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S11 | orderRepository.findById()[1] โ null orderRepository.findById()[2] โ NOT_CALLED paymentClient.transfer()[1] โ NOT_CALLED | OrderNotFoundException / NPE risk | Missing exception test. The system is expected to result in OrderNotFoundException / NPE risk, but there is no test verifying it handles this failure correctly. | โ MISSING |
| S12 | orderRepository.findById()[1] โ RuntimeException orderRepository.findById()[2] โ NOT_CALLED paymentClient.transfer()[1] โ NOT_CALLED | Exception Propagated | Missing exception test. The system is expected to result in Exception Propagated, but there is no test verifying it handles this failure correctly. | โ MISSING |