@Test
public void selectSortedSet()
{

    RichIterable<Integer> iterable = Interval.oneTo(200).toSortedSet();
    Collection<Integer> actual1 = FJIterate.select(iterable, Predicates.greaterThan(100));
    Collection<Integer> actual2 = FJIterate.select(iterable, Predicates.greaterThan(100), true);
    RichIterable<Integer> expected = iterable.select(Predicates.greaterThan(100));
    Assert.assertSame(expected.getClass(), actual1.getClass());
    Assert.assertSame(expected.getClass(), actual2.getClass());
    Assert.assertEquals(expected.getClass().getSimpleName() + '/' + actual1.getClass().getSimpleName(), expected, actual1);
    Assert.assertEquals(expected.getClass().getSimpleName() + '/' + actual2.getClass().getSimpleName(), expected, actual2);
}