package kr.co.jinwoosi.clfd.clfd.user;

import kr.co.jinwoosi.clfd.clfd.user.service.ClfdUserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {
        "classpath:config/spring/context-datasource.xml",
        "classpath:config/spring/context-mybatis.xml",
        "classpath:config/spring/context-common.xml",
        "classpath:config/spring/context-transaction.xml"
})
public class ClfdUserServiceTest {

    @Autowired
    private ClfdUserService clfdUserService;

    @Test
    public void test() {
        boolean isFind = clfdUserService.findIdByEmail("gchdddddddsj9838@gmail.com");
        System.out.println(isFind);
    }
}
