Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5
    • Component/s: Rules

      Description

      AssertJ uses 4 methods to test exceptions, that we could support in S5783 and S5778 (doc):

      • catchThrowable
      • catchThrowableOfType
      • assertThatThrownBy
      • assertThatExceptionOfType
      • assertThatCode
        assertThatCode(boomCode).isInstanceOf(Exception.class).hasMessageContaining("boom");
        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alban.auzeill Alban Auzeill
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: