Integer calculateFeePrice(Integer withdrawPrice, Integer percent) {
        Integer feePrice = 0;
        if (percent != null && percent > 0) {
            feePrice = MoneyUtils.calculateRatePrice(withdrawPrice, Double.valueOf(percent));
        }
        return feePrice;
    }
@Test
    public void testCalculateFeePrice() {
        Integer withdrawPrice = 100;
        // 测试手续费比例未设置
        Integer percent = null;
        assertEquals(brokerageWithdrawService.calculateFeePrice(withdrawPrice, percent), 0);
        // 测试手续费给为0
        percent = 0;
        assertEquals(brokerageWithdrawService.calculateFeePrice(withdrawPrice, percent), 0);
        // 测试手续费
        percent = 1;
        assertEquals(brokerageWithdrawService.calculateFeePrice(withdrawPrice, percent), 1);
    }