@Test
public void testExists() {

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