Examine the following snippet:
assertThat( Arrays.asList(\"1x\", \"2x\", \"3x\", \"4z\"), not(hasItem(not(endsWith(\"x\")))) );
You are looking for everyItem():
everyItem()
assertThat( Arrays.asList("1x", "2x", "3x", "4z"), everyItem(endsWith("x")) );
This produces a nice failure message:
Expected: every item is a string ending with "x" but: an item was "4z"