1
0
mirror of synced 2025-12-23 10:39:27 +08:00

🎨 优化代码

This commit is contained in:
Binary Wang
2020-05-19 22:01:12 +08:00
parent 40ab5dd402
commit 4929e4e03e
4 changed files with 50 additions and 42 deletions

View File

@@ -1,46 +1,55 @@
package com.github.binarywang.wxpay.service.impl;
import com.github.binarywang.wxpay.bean.payscore.WxPayScoreRequest;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.github.binarywang.wxpay.service.WxPayService;
import com.github.binarywang.wxpay.testbase.ApiTestModule;
import com.google.inject.Inject;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/**
* 测试代码,待补充完善.
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
* @date 2020-05-19
*/
@Test
@Guice(modules = ApiTestModule.class)
public class PayScoreServiceImplTest {
@Inject
private WxPayService payService;
@Test
public void testCreateServiceOrder() {
}
@Test
public void testCreateServiceOrder() throws WxPayException {
this.payService.getPayScoreService().createServiceOrder(WxPayScoreRequest.builder().build());
}
@Test
public void testQueryServiceOrder() {
}
@Test
public void testQueryServiceOrder() {
}
@Test
public void testCancelServiceOrder() {
}
@Test
public void testCancelServiceOrder() {
}
@Test
public void testModifyServiceOrder() {
}
@Test
public void testModifyServiceOrder() {
}
@Test
public void testCompleteServiceOrder() {
}
@Test
public void testCompleteServiceOrder() {
}
@Test
public void testPayServiceOrder() {
}
@Test
public void testPayServiceOrder() {
}
@Test
public void testSyncServiceOrder() {
}
@Test
public void testSyncServiceOrder() {
}
@Test
public void testDecryptNotifyData() {
}
@Test
public void testDecryptNotifyData() {
}
}