abbreviation Template text assertthat org.assertj.core.api.Assertions.assertThat($END$); assertthrows org.junit.jupiter.api.Assertions.assertThrows($EXCEPTION$.class, () -> $END$); tdd @org.junit.jupiter.api.Test public void $methodName$() throws Exception { //given $END$ //when //then } todo // TODO $DATE$ $END$ $USER$ DATE와 USER 변수는 Edit variables에서 각각 expression을 date()와 user()로 한다. when org...
배경 스프링 커뮤니티에서 필드 주입보다는 생성자 주입을 권장하기 때문에 생성자 주입을 아무런 생각없이 쓰고 있었다. 그런데 오늘 jwt 토이 프로젝트를 하다가 순환 참조가 발생해서 해당 내용을 기록한다. 문제 jwtRequestFilter defined in file [xx\IdeaProjects\study\simple_shopping_mall\out\production\classes\com\ssmallgiant\simple_shopping_mall\filter\JwtRequestFilter.class] ┌─────┐ | memberService defined in file [xx\IdeaProjects\study\simple_shopping_mall\out\production\classes\com\ss..