🎨 规范部分单元测试方法名

This commit is contained in:
Binary Wang 2020-02-23 11:11:45 +08:00
parent 8efed3ebc4
commit 70640f4d00

View File

@ -23,7 +23,7 @@ public class ProfitSharingServiceImplTest {
private WxPayService payService;
@Test
public void testProfitsharing() throws WxPayException {
public void testProfitSharing() throws WxPayException {
ReceiverList instance = ReceiverList.getInstance();
instance.add(new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
@ -40,7 +40,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testMultiprofitsharing() throws WxPayException {
public void testMultiProfitSharing() throws WxPayException {
ReceiverList instance = ReceiverList.getInstance();
instance.add(new Receiver(WxPayConstants.ReceiverType.MERCHANT_ID,
"86693852",
@ -56,7 +56,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testProfitsharingFinish() throws WxPayException {
public void testProfitSharingFinish() throws WxPayException {
ProfitSharingFinishRequest request = ProfitSharingFinishRequest
.newBuilder()
.outOrderNo("20191023103251431856285")
@ -67,7 +67,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testAddreceiver() throws WxPayException {
public void testAddReceiver() throws WxPayException {
Receiver receiver = new Receiver(WxPayConstants.ReceiverType.PERSONAL_OPENID,
"oyOUE5ql4TtzrBg5cVOwxq6tbjOs",
"***",
@ -92,7 +92,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testProfitsharingQuery() throws WxPayException {
public void testProfitSharingQuery() throws WxPayException {
ProfitSharingQueryRequest request = ProfitSharingQueryRequest
.newBuilder()
.outOrderNo("20191023112023031060677")
@ -104,7 +104,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testProfitsharingReturn() throws WxPayException {
public void testProfitSharingReturn() throws WxPayException {
ProfitSharingReturnRequest request = ProfitSharingReturnRequest
.newBuilder()
.outOrderNo("20191023154723316420060")
@ -118,7 +118,7 @@ public class ProfitSharingServiceImplTest {
}
@Test
public void testProfitsharingReturnQuery() throws WxPayException {
public void testProfitSharingReturnQuery() throws WxPayException {
ProfitSharingReturnQueryRequest request = ProfitSharingReturnQueryRequest
.newBuilder()
.outOrderNo("20191023154723316420060")
@ -127,5 +127,4 @@ public class ProfitSharingServiceImplTest {
this.logger.info(this.payService.getProfitSharingService().profitSharingReturnQuery(request).toString());
}
}