33 |
|
import java.util.Collections; |
34 |
|
import java.util.Comparator; |
35 |
|
import java.util.Iterator; |
36 |
– |
import java.util.NoSuchElementException; |
36 |
|
import java.util.NavigableMap; |
37 |
|
import java.util.SortedMap; |
38 |
|
import java.util.TreeMap; |
40 |
|
import org.testng.annotations.DataProvider; |
41 |
|
|
42 |
|
import static org.testng.Assert.fail; |
44 |
– |
import static org.testng.Assert.assertEquals; |
43 |
|
import static org.testng.Assert.assertTrue; |
44 |
|
import static org.testng.Assert.assertFalse; |
47 |
– |
import static org.testng.Assert.assertSame; |
45 |
|
|
46 |
|
public class EmptyNavigableMap { |
47 |
|
|
262 |
|
navigableMap.subMap(last, true, first, false); |
263 |
|
}, |
264 |
|
IllegalArgumentException.class, description |
265 |
< |
+ ": Must throw IllegalArgumentException when fromElement is not less then then toElement."); |
265 |
> |
+ ": Must throw IllegalArgumentException when fromElement is not less than toElement."); |
266 |
|
|
267 |
|
navigableMap.subMap(first, true, last, false); |
268 |
|
} |