@Test
public void testRetainAllWithPredicate()
{
set.add(newArray(set.keys, 0, key1, key2, 3, 4, 5));
assertEquals(4, set.retainAll(new BytePredicate()
{
public boolean apply(/* replaceIf:applied. */ byte /* end */ v)
{
return v == key1 || v == key2;
};