코드 스니펫

    @RunWith(SpringJUnit4ClassRunner.class)
    @SpringApplicationConfiguration(classes = AppConfig.class)
    public class SpringTest {

        @Autowired
        Service service;

        @Test
        public void test() {

        }

    }