// Path: dingding-app-server-rpc/src/main/java/com/mocoder/dingding/rpc/SmsServiceWrap.java
// public interface SmsServiceWrap {
// 
//     /**
//      * 发送登录验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentLoginValidCodeSms(String mobileNum,String validCode);
// 
//     /**
//      * 发送登录验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentRegValidCodeSms(String mobileNum,String validCode);
//     /**
//      * 发送重要操作验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentRegValidCodeSms(String mobileNum,String validCode,String operate);
// }


import com.mocoder.dingding.rpc.SmsServiceWrap;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.annotation.Resource;
package com.mocoder.dingding.test.service;



/**
 * Created with IntelliJ IDEA.
 * User: likun7
 * Date: 14-11-19
 * Time: 上午11:52
 * To change this template use File | Settings | File Templates.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:spring-config.xml"})
public class RpcServiceTest {
    @Resource
// Path: dingding-app-server-rpc/src/main/java/com/mocoder/dingding/rpc/SmsServiceWrap.java
// public interface SmsServiceWrap {
// 
//     /**
//      * 发送登录验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentLoginValidCodeSms(String mobileNum,String validCode);
// 
//     /**
//      * 发送登录验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentRegValidCodeSms(String mobileNum,String validCode);
//     /**
//      * 发送重要操作验证码短信
//      * @param validCode
//      * @param mobileNum
//      * @return
//      */
//     public boolean sentRegValidCodeSms(String mobileNum,String validCode,String operate);
// }


// Path: dingding-app-server-web/src/test/java/com/mocoder/dingding/test/service/RpcServiceTest.java
import com.mocoder.dingding.rpc.SmsServiceWrap;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.annotation.Resource;

package com.mocoder.dingding.test.service;



/**
 * Created with IntelliJ IDEA.
 * User: likun7
 * Date: 14-11-19
 * Time: 上午11:52
 * To change this template use File | Settings | File Templates.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:spring-config.xml"})
public class RpcServiceTest {
    @Resource
    private SmsServiceWrap smsServiceWrap;