< prev index next >

test/java/util/Collections/EmptyNavigableMap.java

Print this page

        

*** 263,273 **** assertThrows( () -> { navigableMap.subMap(last, true, first, false); }, IllegalArgumentException.class, description ! + ": Must throw IllegalArgumentException when fromElement is not less then then toElement."); navigableMap.subMap(first, true, last, false); } @Test(dataProvider = "NavigableMap<?,?>", dataProviderClass = EmptyNavigableMap.class) --- 263,273 ---- assertThrows( () -> { navigableMap.subMap(last, true, first, false); }, IllegalArgumentException.class, description ! + ": Must throw IllegalArgumentException when fromElement is not less than toElement."); navigableMap.subMap(first, true, last, false); } @Test(dataProvider = "NavigableMap<?,?>", dataProviderClass = EmptyNavigableMap.class)
< prev index next >