@Test
public void testForAll() {

    final APredicateNoThrow<String> len1 = new APredicateNoThrow<String>() {
        @Override  public boolean apply(String o) {
            return o.length() == 1;
        }
    };
    assertEquals(true, ACollectionHelper.forAll(Arrays.<String>asList(), len1));
    assertEquals(true, ACollectionHelper.forAll (Arrays.asList ("a"), len1));
    assertEquals(true, ACollectionHelper.forAll (Arrays.asList ("a", "b", "c"), len1));
    assertEquals(false, ACollectionHelper.forAll (Arrays.asList ("a", "b", "cd", "e"), len1));
}