📅  最后修改于: 2022-03-11 14:56:01.654000             🧑  作者: Mango
allOf method --> it is similar to "AND" = "&&"
in Java. Basically both condition must be true
in order test to pass
For example :
assertThat("John Doe", allOf(startsWith("Jo"),containsString("Doe")));
//since both condition is true test passes