// List doesn't support clone()
TreeSet torig = (TreeSet) _mgr.newCollectionProxy(TreeSet.class, null, new CustomComparator(), true);
assertTrue(torig.comparator() instanceof CustomComparator);
populate(torig);
assertSortedSetsEquals(new TreeSet(torig), (SortedSet) torig.clone());
}
public void testListMethodsProxied() throws Exception {
Class proxy = _mgr.newCollectionProxy(ArrayList.class, null, null, true).getClass();
assertListMethodsProxied(proxy);