可以看到,結合Hamcrest後,閱讀assertThat()中的斷言,比較接近閱讀自然語言, guests, hasItems("Justin", "Momor", "Hamimi")讀來就像是:「訪客名單中有"Justin", ...
確定! 回上一頁