Skip to content

Commit

Permalink
Use proper JUnit API
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Mar 22, 2024
1 parent 63954df commit fa72968
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -794,21 +794,21 @@ public void testFullMapCompatibility() throws Exception {
// public void testIterator_Key() {
// final MultiValuedMap<K, V> map = makeFullMap();
// Iterator<V> it = map.iterator("one");
// assertEquals(true, it.hasNext());
// assertTrue( it.hasNext());
// Set<V> values = new HashSet<V>();
// while (it.hasNext()) {
// values.add(it.next());
// }
// assertEquals(true, values.contains("un"));
// assertEquals(true, values.contains("uno"));
// assertTrue( values.contains("un"));
// assertTrue( values.contains("uno"));
// assertEquals(false, map.iterator("A").hasNext());
// assertEquals(false, map.iterator("A").hasNext());
// if (!isAddSupported()) {
// return;
// }
// map.put((K) "A", (V) "AA");
// it = map.iterator("A");
// assertEquals(true, it.hasNext());
// assertTrue( it.hasNext());
// it.next();
// assertEquals(false, it.hasNext());
// }
Expand Down

0 comments on commit fa72968

Please sign in to comment.