package com.izouma.jmrh.service.sms;

import com.izouma.jmrh.ApplicationTests;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class SmsServiceTest extends ApplicationTests {
    @Autowired
    private SmsService smsService;

    @Test
    public void send() {
        String sessionId = smsService.sendVerify("13270453616");
        System.out.println(sessionId);
    }

    @Test
    public void verify() throws SmsService.SmsVerifyException {
        smsService.verify("13270453616", "5274");
    }
}