parent
3388f19b31
commit
5db4a09b92
@ -0,0 +1,30 @@
|
||||
package au.com.royalpay.payment.manage.settlement.core.impls;
|
||||
|
||||
import au.com.royalpay.payment.manage.settlement.core.ManualSettleSupport;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.serializer.SerializerFeature;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Create by yixian at 2018-03-27 14:04
|
||||
*/
|
||||
@SpringBootTest
|
||||
@ActiveProfiles({"proxy", "alipay", "wechat", "jd", "bestpay"})
|
||||
@RunWith(SpringRunner.class)
|
||||
public class ManualSettleSupportImplTest {
|
||||
@Resource
|
||||
private ManualSettleSupport manualSettleSupport;
|
||||
|
||||
@Test
|
||||
public void findCurrentSettle() {
|
||||
System.out.println(JSON.toJSONString(manualSettleSupport.findCurrentSettle(9, true), SerializerFeature.PrettyFormat));
|
||||
}
|
||||
}
|
Loading…
Reference in new issue