package test;
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.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.byd.mmerp.service.impl.T1Service;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"applicationContext.xml"})
public class T1ServiceTest extends AbstractTransactionalJUnit4SpringContextTests {
@Autowired
private T1Service t1Service;
@Test
public void testGetT1() {
String name = t1Service.getT1(1).getName();
System.out.println(name);
}
}