@Test
public void test_getAvailableCost() {

    PointRecPo rec = new PointRecPo();
    rec.setTotalCost(DecimalUtils.ZERO);
    BigDecimal result = this.calculator.getAvailableCost(rec);
    Assertions.assertEquals(DecimalUtils.ZERO, result);
    rec.setTotalCost(BigDecimal.valueOf(100L))
            .setFrozenCost(BigDecimal.valueOf(5L))
            .setUsedCost(BigDecimal.valueOf(6L))
            .setRefundCost(BigDecimal.valueOf(7L));
    BigDecimal expect = BigDecimal.valueOf(100L - 5L - 6L - 7L);
    result = this.calculator.getAvailableCost(rec);
    Assertions.assertEquals(expect, result);
}