Kotlin users of Truth can emulate AssertJ-style chaining by using apply : assertThat(list).apply { contains(x, y) doesNotContain(z); }.
確定! 回上一頁