@Test public void shouldCalculateAcceptForFraud() { final RestResponse<CisFraudTransactionResult> response = fraudClient.calculateFraudScore("test", this.createTransaction()); final CisFraudTransactionResult result = response.getResult(); Assert.assertEquals(result.getDecision(), CisDecision.ACCEPT); }
@Ignore @Test public void shouldAcceptOrderStatusUpdate() { final RestResponse<CisFraudTransactionResult> response = fraudClient.handleOrderStatusUpdate("test", this.getOrderStatusUpdateAccept()); final CisFraudTransactionResult result = response.getResult(); Assert.assertNotNull(result); }