사용자 도구

사이트 도구


java:assertj

문서의 이전 판입니다!


AssertJ

IntelliJ Live Template for try/catch

  • abbrevication : trytestassertj
  • Reformat according to Style : check
  • Use static import if possible : check
  • Shorten FQ names : check
  • Applicable in Java: statement
  • Template text :
    try {
        org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown($ExceptionClass$.class);
    } catch ($ExceptionClass$ ex) {
        org.assertj.core.api.Assertions.assertThat(ex).hasMessage("");
    }

참고

java/assertj.1518050002.txt.gz · 마지막으로 수정됨: 2018/02/08 09:03 저자 kwon37xi