Skip to content
Discussion options

You must be logged in to vote

이 부분 섹션7 강의에서 자세히 다루시는 것 같아요 !
필드 주입 방식은 나중에 다른 객체로 변경할때 외부에서 변경이 힘들어서 테스트할때 좋지 않아 간단하지만 잘 사용하지 않는 것 같습니다. 애플리케이션의 실제 코드와 관계 없는 테스트 코드에서만 사용하는게 좋다고 합니다

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YuDeokRin
Comment options

Answer selected by jih3508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants