Authored by wujiexiang

junit test

... ... @@ -62,4 +62,10 @@ public class SellerEnterTypeChangeEventTest extends BaseWebTest {
BigDecimal feeRate = sellerPlatformServiceFeeSupport.getPlatformServiceFeeRate(500031424, SkupType.IN_STOCK);
Assert.assertEquals(feeRate.toPlainString(),"0.049");
}
@Test
public void getPlatformServiceFeeRate_withoutRules() {
BigDecimal feeRate = sellerPlatformServiceFeeSupport.getPlatformServiceFeeRate(500031424, SkupType.IN_STOCK);
Assert.assertEquals(feeRate,null);
}
}
... ...