package com.test.springTest;
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;
import com.jushi.aop.IUser;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("/applicationContext.xml")
public class SpringTest {
@Autowired
IUser iUserImpl;
@Test
public void testiUSerImpl(){
iUserImpl.addUser("王风光");
iUserImpl.findAll();
}
}