Skip to content

Commit 70640f4

Browse files
committed
🎨 规范部分单元测试方法名
1 parent 8efed3e commit 70640f4

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/ProfitSharingServiceImplTest.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class ProfitSharingServiceImplTest {
2323
private WxPayService payService;
2424

2525
@Test
26-
public void testProfitsharing() throws WxPayException {
26+
public void testProfitSharing() throws WxPayException {
2727
ReceiverList instance = ReceiverList.getInstance();
2828
instance.add(new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
2929
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
@@ -40,7 +40,7 @@ public void testProfitsharing() throws WxPayException {
4040
}
4141

4242
@Test
43-
public void testMultiprofitsharing() throws WxPayException {
43+
public void testMultiProfitSharing() throws WxPayException {
4444
ReceiverList instance = ReceiverList.getInstance();
4545
instance.add(new Receiver(WxPayConstants.ReceiverType.MERCHANT_ID,
4646
"86693852",
@@ -56,7 +56,7 @@ public void testMultiprofitsharing() throws WxPayException {
5656
}
5757

5858
@Test
59-
public void testProfitsharingFinish() throws WxPayException {
59+
public void testProfitSharingFinish() throws WxPayException {
6060
ProfitSharingFinishRequest request = ProfitSharingFinishRequest
6161
.newBuilder()
6262
.outOrderNo("20191023103251431856285")
@@ -67,7 +67,7 @@ public void testProfitsharingFinish() throws WxPayException {
6767
}
6868

6969
@Test
70-
public void testAddreceiver() throws WxPayException {
70+
public void testAddReceiver() throws WxPayException {
7171
Receiver receiver = new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
7272
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
7373
"***",
@@ -92,7 +92,7 @@ public void testRemoveReceiver() throws WxPayException {
9292
}
9393

9494
@Test
95-
public void testProfitsharingQuery() throws WxPayException {
95+
public void testProfitSharingQuery() throws WxPayException {
9696
ProfitSharingQueryRequest request = ProfitSharingQueryRequest
9797
.newBuilder()
9898
.outOrderNo("20191023112023031060677")
@@ -104,7 +104,7 @@ public void testProfitsharingQuery() throws WxPayException {
104104
}
105105

106106
@Test
107-
public void testProfitsharingReturn() throws WxPayException {
107+
public void testProfitSharingReturn() throws WxPayException {
108108
ProfitSharingReturnRequest request = ProfitSharingReturnRequest
109109
.newBuilder()
110110
.outOrderNo("20191023154723316420060")
@@ -118,7 +118,7 @@ public void testProfitsharingReturn() throws WxPayException {
118118
}
119119

120120
@Test
121-
public void testProfitsharingReturnQuery() throws WxPayException {
121+
public void testProfitSharingReturnQuery() throws WxPayException {
122122
ProfitSharingReturnQueryRequest request = ProfitSharingReturnQueryRequest
123123
.newBuilder()
124124
.outOrderNo("20191023154723316420060")
@@ -127,5 +127,4 @@ public void testProfitsharingReturnQuery() throws WxPayException {
127127
this.logger.info(this.payService.getProfitSharingService().profitSharingReturnQuery(request).toString());
128128
}
129129

130-
131130
}

0 commit comments

Comments
 (0)