Truth is similar to AssertJ. An assertion written with either library looks like this: assertThat(notificationText).contains("[email protected]");.
確定! 回上一頁