Assert string. @Test. public void testString() {. String str = null;. // assert null or empty string. assertThat(str).isNullOrEmpty();.
確定! 回上一頁