@Test
public void testSortedIntersection() {

    Set<Integer> a = Sets.newTreeSet();
    Set<Integer> b = Sets.newTreeSet();
    populate(a);
    populate(b);
    Assert.assertEquals(TSets.intersection(a, b),
            Sets.intersection(a, b).copyInto(Sets.<Integer> newHashSet()));
}