I could with following code check if a list has a item, which greater than 30.
//Using Hamcrest List ints= Arrays.asList(22,33,44,55); assertT
Another simple way to test it is
assertTrue(ints.size() >= 3);