| 1234567891011121314151617181920212223242526272829 |
- package com.izouma.nineth.service;
- import com.huifu.adapay.core.exception.BaseAdaPayException;
- import com.izouma.nineth.ApplicationTests;
- import org.junit.Test;
- import org.springframework.beans.factory.annotation.Autowired;
- import static org.junit.Assert.*;
- public class AdapayServiceTest extends ApplicationTests {
- @Autowired
- private AdapayService adapayService;
- @Test
- public void createMember() throws BaseAdaPayException {
- adapayService.createMember(99999999999999L, "15077886171", "熊竹", "321002199408304614");
- }
- @Test
- public void createSettleAccount() throws BaseAdaPayException {
- adapayService.createSettleAccount("99999999999999", "熊竹", "321002199408304614",
- "15077886171", "6222024301070380163");
- }
- @Test
- public void delSettleAccount() throws BaseAdaPayException {
- adapayService.delSettleAccount("99999999999999", "0288070028826880");
- }
- }
|