TeStereo report

@Test public void testValueIterator(){ Iterator iterator=kvList.valueIterator(); Text oldKey=null, oldValue=null; for (int i=1; i < 5; i++) { Text currentValue=iterator.next(); Text currentKey=kvList.getCurrentKey(); Assert.assertEquals("v" + i,currentValue.toString()); Assert.assertEquals("k" + i,currentKey.toString()); if (oldKey != null && oldValue != null) { Assert.assertTrue(oldKey == currentKey); Assert.assertTrue(oldValue == currentValue); } oldKey=currentKey; oldValue=currentValue; } }