Have a JUnit 5 @Test; Have an assertion org.assertj.core.api.Assertions.assertThat(something.methodExpectedToReturnTrue()) without .isTrue() or .isFalse().
確定! 回上一頁