참고

  • JUnit Test에서 Service 객체가 등록되기 위해서는 @ComponentScan 어노테이션이 필요함
  • Repository Test에서는 @ComponentScan 없이 자동으로 등록됨