Search in sources :

Example 1 with FundEnhanceRequest

use of com.tony.billing.request.fund.FundEnhanceRequest in project BillingDubbo by TonyJiangWJ.

the class FundInfoServiceTest method testEnhanceFund.

@Test
public void testEnhanceFund() {
    FundEnhanceRequest request = new FundEnhanceRequest();
    request.setUserId(2L);
    request.setFundCode("161725");
    request.setCurrentAmount("1940.28");
    request.setDateBefore(DateUtil.getDateFromString("2020-09-01", "yyyy-MM-dd"));
    UserIdContainer.setUserId(2L);
    Assert.assertTrue(fundInfoService.enhanceFund(request));
}
Also used : FundEnhanceRequest(com.tony.billing.request.fund.FundEnhanceRequest) BaseServiceNoTransactionalTest(com.tony.billing.service.BaseServiceNoTransactionalTest) Test(org.junit.Test)

Aggregations

FundEnhanceRequest (com.tony.billing.request.fund.FundEnhanceRequest)1 BaseServiceNoTransactionalTest (com.tony.billing.service.BaseServiceNoTransactionalTest)1 Test (org.junit.Test)1