AssertJ contains many assertions methods specific to common types. Both versions will test the same things, ... assertThat(getString()).matches(expected).
確定! 回上一頁