import javax.annotation.Resource
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.test.context.ContextConfiguration
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner
import com.ssm.pojo.User
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:spring/applicationContext.xml" })
public class UserServiceImplTest {
@Resource(name="userService")
private IUserService userService
@Test
public void test_insertUser(){
}
}