package com.duiba.tuia.youtui.web.service;

import cn.com.duiba.tuia.ssp.center.api.dto.MediaAppDataDto;
import com.duiba.tuia.youtui.web.TransactionalTestCaseBase;
import com.duiba.tuia.youtui.web.exception.ActivityException;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * Created by zhengjy on 2017/2/22.
 */
public class AppServiceTest extends TransactionalTestCaseBase{
        @Qualifier("appServiceImpl")
        @Autowired
    private  AppService appService;

    @Test
    public void testFindAppByAppKey() throws Exception {
        MediaAppDataDto appByAppKey = appService.findAppByAppKey("jlg88lyxz7siqtmr");
        Assert.assertNotNull(appByAppKey);
    }

}
