fn payout_request_invalid() {
        let mut rt = Runtime::new().unwrap();

        let payment = create_payment(
            "4242424242424242".to_string(),
            6,
            2025,
            Some("100".to_string()),
            BigDecimal::try_from(123.12).unwrap(),
        );
        let payment: &'static _ = Box::leak(Box::new(payment));

        let response = rt.block_on(client().create_payment(payment).boxed().compat());

        assert!(matches!(response, Ok(_)));
    }
// response code is 10000 (Approved) even with XXX12 as the amount
response code is 10000 (Approved) even with XXX12 as the amount
response code is 10000 ( Approved ) even with XXX12 as the amount
fn payout_request_invalid() {
        let mut rt = Runtime::new().unwrap();
        let payment = create_payment(
            "4242424242424242".to_string(),
            6,
            2025,
            Some("100".to_string()),
            BigDecimal::try_from(123.12).unwrap(),
        );
        let payment: &'static _ = Box::leak(Box::new(payment));
        let response = rt.block_on(client().create_payment(payment).boxed().compat());
        assert!(matches!(response, Ok(_)));
    }
fn payout_request_invalid ( ) { let mut rt = Runtime :: new ( ) . unwrap ( ) ; let payment = create_payment ( " " . to_string ( ) , 6 , 2025 , Some ( " " . to_string ( ) ) , BigDecimal :: try_from ( 123.12 ) . unwrap ( ) , ) ; let payment : & ' static _ = Box :: leak ( Box :: new ( payment ) ) ; let response = rt . block_on ( client ( ) . create_payment ( payment ) . boxed ( ) . compat ( ) ) ; assert ! ( matches ( response Ok ( ) ) ) ; }
response code is 10000 (Approved) even with XXX12 as the amount
response code is 10000 ( Approved ) even with XXX12 as the amount