BUG-7464: Add a dedicated ImmutableEntrySet
[yangtools.git] / third-party / triemap / src / test / java / org / opendaylight / yangtools / triemap / TestMapIterator.java
index 36fc3587b145e19a9289e8d79851184d9bd2d1fd..ab6e9fdd1253da1dcfcb656fdf01dc9db969a0fe 100644 (file)
@@ -89,7 +89,7 @@ public class TestMapIterator {
 
     @Test(expected = NoSuchElementException.class)
     public void testEmptyReadOnlyIterator() {
-        failAdvance(TrieMap.create().readOnlyIterator());
+        failAdvance(TrieMap.create().immutableIterator());
     }
 
     @Test(expected = NoSuchElementException.class)