package com.izouma.jiashanxia.service;

import com.izouma.jiashanxia.enums.PayMethod;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.math.BigDecimal;


@SpringBootTest
@RunWith(SpringRunner.class)
public class WithdrawServiceTest {
    @Autowired
    private WithdrawService withdrawService;

    @Test
    public void apply() {
        System.out.println(withdrawService.apply(40L, new BigDecimal("100"), PayMethod.WEIXIN, "xxx", "xxx"));
    }

    @Test
    public void test() {
    }
}